How to Unlock a Keyboard on Windows 11 and 10 (Laptop and Desktop)

How-to-Unlock-Keyboard
On this page
  1. Quick fixes by symptom
  2. 1. Turn off Filter Keys, Sticky Keys and Toggle Keys
  3. 2. Check Fn lock, Num Lock and the Windows key lock
  4. 3. Wake or reconnect a wireless keyboard
  5. 4. Locked at the sign-in or BitLocker screen
  6. 5. Restart and reinstall the keyboard driver
  7. 6. Check for hardware problems
  8. How to lock the keyboard on purpose
  9. FAQ

A "locked" keyboard on Windows is usually caused by Filter Keys (an accessibility setting turned on by holding the right Shift key for 8 seconds), a Fn or Num Lock key, a game-mode/Win-key lock, a dead wireless connection, or a driver problem. Try this first: hold the right Shift key for 8 seconds (or turn off Filter Keys in Settings), press Fn + Esc or your laptop's Fn-lock key, press Num Lock, and restart the PC. If nothing types at all, use the on-screen keyboard while you work through the fixes below.

Quick fixes by symptom

SymptomLikely causeFix
Keys do nothing unless held down; beepsFilter Keys onHold right Shift 8 seconds, or turn off in Settings
Number row or keys type numbers / letters type numbersNum Lock on a small laptop keyboardPress Num Lock (or Fn + NumLk)
F1–F12 do media actions, or the reverseFn lockFn + Esc, or the Fn-lock key (padlock icon)
Windows key doesn't workWin lock / gaming modeFn + F6/F12/Win (brand-specific) or gaming software toggle
Shift/Ctrl/Alt "stuck"Sticky KeysPress Shift 5 times or turn off in Settings
Wireless keyboard deadBattery, receiver, BluetoothNew batteries, re-plug receiver, re-pair
Laptop keyboard dead, USB keyboard worksDriver, ribbon cable, liquid damageReinstall driver; repair if hardware
Typing wrong symbols (@ and " swapped)Wrong keyboard layoutWin + Space to switch layout

1. Turn off Filter Keys, Sticky Keys and Toggle Keys

  • Shortcut: hold the right Shift key for 8 seconds to toggle Filter Keys.
  • Windows 11: Settings → Accessibility → Keyboard → turn off Filter keys, Sticky keys and their keyboard shortcuts.
  • Windows 10: Settings → Ease of Access → Keyboard → turn off Filter Keys and Sticky Keys.

If you can't type to search, open Settings with the mouse (Start → Settings) or use the on-screen keyboard: Settings → Accessibility → Keyboard → On-screen keyboard.

2. Check Fn lock, Num Lock and the Windows key lock

  • Fn lock: press Fn + Esc (common on Lenovo, Dell, HP, ASUS) or a key with a padlock and "Fn". Some laptops change this in BIOS (Action Keys Mode / Hotkey Mode).
  • Num Lock: on compact laptops, letters U-I-O-J-K-L can type numbers when Num Lock is on. Press Num Lock or Fn + NumLk/ScrLk.
  • Windows key lock: gaming keyboards and laptops (ASUS ROG, MSI, Razer, Logitech G, Corsair) have a "Win lock" or Game mode. Press the Win-lock key, Fn + Win, or turn it off in the brand's software.
  • Keyboard backlight/"lock" icons on some HP and Dell laptops show the current state.

3. Wake or reconnect a wireless keyboard

  1. Replace or recharge the batteries; check the keyboard's on/off switch.
  2. Unplug the USB receiver and plug it into a different port (front-panel or hub ports can be weak). Use a USB extension to bring it closer.
  3. For Bluetooth: Settings → Bluetooth & devices → remove the keyboard → Add device and pair again.
  4. For Logitech Unifying/Bolt receivers, pair again with Logi Options+ or Logi Bolt app; see how to connect a wireless keyboard.

4. Locked at the sign-in or BitLocker screen

  • Use the on-screen keyboard (Accessibility icon at the bottom right of the sign-in screen).
  • Plug in a USB keyboard; laptop keyboards occasionally fail before Windows loads drivers.
  • At a BitLocker recovery screen, the Fn key may be needed for number keys (or use the number row). Your recovery key is in your Microsoft account (aka.ms/myrecoverykey) if you need it.

5. Restart and reinstall the keyboard driver

  1. Restart the PC (Start → Power → Restart). A full shutdown with Shift held clears fast-startup state.
  2. Right-click Start → Device Manager → Keyboards.
  3. Right-click the keyboard (often "Standard PS/2 Keyboard" or "HID Keyboard Device") → Uninstall device, then restart; Windows reinstalls it.
  4. Run Windows Update (including Optional updates) and install your laptop maker's keyboard/hotkey and chipset drivers.
  5. Run the keyboard troubleshooter in Get Help if available.

6. Check for hardware problems

  • If an external USB keyboard works but the laptop keyboard doesn't, the laptop keyboard, its ribbon cable or liquid damage is likely.
  • Check in BIOS/UEFI: if keys don't work there either, it's hardware, not Windows.
  • Single dead keys: clean under the keycap carefully with compressed air or isopropyl alcohol.
  • After a spill, switch off immediately; see spilled water on a laptop.

How to lock the keyboard on purpose

  • Win + L locks Windows (keyboard and screen) until you sign in.
  • To clean the keyboard without typing anything, lock the PC with Win + L or shut it down first.

FAQ

Why did my keyboard suddenly lock?

Most often Filter Keys was turned on by accidentally holding Shift, or Num Lock/Fn lock was toggled.

Is there a keyboard lock key on laptops?

Not a general one, but many laptops have Fn lock, Num Lock and touchpad lock keys; some HP laptops have a "keyboard lock" in BIOS for kiosks.

My keyboard works in BIOS but not Windows. Why?

A driver or setting problem in Windows: turn off Filter Keys, reinstall the driver, and check for updates.

How do I unlock a Mac keyboard?

On a Mac, check System Settings → Accessibility → Keyboard (Slow Keys, Sticky Keys) and Mouse Keys under Pointer Control.

Related guides