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

On this page
- Quick fixes by symptom
- 1. Turn off Filter Keys, Sticky Keys and Toggle Keys
- 2. Check Fn lock, Num Lock and the Windows key lock
- 3. Wake or reconnect a wireless keyboard
- 4. Locked at the sign-in or BitLocker screen
- 5. Restart and reinstall the keyboard driver
- 6. Check for hardware problems
- How to lock the keyboard on purpose
- 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
| Symptom | Likely cause | Fix |
|---|---|---|
| Keys do nothing unless held down; beeps | Filter Keys on | Hold right Shift 8 seconds, or turn off in Settings |
| Number row or keys type numbers / letters type numbers | Num Lock on a small laptop keyboard | Press Num Lock (or Fn + NumLk) |
| F1–F12 do media actions, or the reverse | Fn lock | Fn + Esc, or the Fn-lock key (padlock icon) |
| Windows key doesn't work | Win lock / gaming mode | Fn + F6/F12/Win (brand-specific) or gaming software toggle |
| Shift/Ctrl/Alt "stuck" | Sticky Keys | Press Shift 5 times or turn off in Settings |
| Wireless keyboard dead | Battery, receiver, Bluetooth | New batteries, re-plug receiver, re-pair |
| Laptop keyboard dead, USB keyboard works | Driver, ribbon cable, liquid damage | Reinstall driver; repair if hardware |
| Typing wrong symbols (@ and " swapped) | Wrong keyboard layout | Win + 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
- Replace or recharge the batteries; check the keyboard's on/off switch.
- 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.
- For Bluetooth: Settings → Bluetooth & devices → remove the keyboard → Add device and pair again.
- 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
- Restart the PC (Start → Power → Restart). A full shutdown with Shift held clears fast-startup state.
- Right-click Start → Device Manager → Keyboards.
- Right-click the keyboard (often "Standard PS/2 Keyboard" or "HID Keyboard Device") → Uninstall device, then restart; Windows reinstalls it.
- Run Windows Update (including Optional updates) and install your laptop maker's keyboard/hotkey and chipset drivers.
- 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.