How to Unlock the Keyboard in Windows 10

To unlock a keyboard in Windows 10, first hold the right Shift key for 8 seconds, or open Settings > Ease of Access > Keyboard and turn off Filter Keys. Filter Keys makes Windows ignore quick key presses, so the keyboard seems locked. Then check Num Lock, the Fn lock, and any keyboard lock switch, and restart your PC.

If some keys type the wrong thing, it’s usually a language or Num Lock setting, not a lock.

Applies to: Windows 10 laptops and desktops, including Dell, HP, and Lenovo. Keep in mind that Windows 10 support ended on October 14, 2025. Security updates now come only through the Extended Security Updates program, which stops on October 12, 2027.

Turn off Filter Keys and Sticky Keys

  1. Select Start > Settings > Ease of Access > Keyboard. Use the mouse or the On-Screen Keyboard if your keyboard doesn’t work.
  2. Turn off Use Filter Keys.
  3. Turn off Use Sticky Keys too, if it’s on.
Windows 10 Ease of Access Keyboard settings with Filter Keys and Sticky Keys turned off and highlighted
Turn off Filter Keys (1) and Sticky Keys (2).

Holding the right Shift key for 8 seconds turns Filter Keys on or off. It’s easy to do by accident.

Type with the On-Screen Keyboard in the meantime

Select Start > Settings > Ease of Access > Keyboard and turn on Use the On-Screen Keyboard. Or press Windows key + Ctrl + O.

Check the lock keys

  • Num Lock: if the letters on the right side of a laptop keyboard type numbers, press Num Lock (sometimes Fn + Num Lk).
  • Fn lock: if the top row changes volume instead of typing F1 to F12, press Fn + Esc or the Fn Lock key on many laptops.
  • Lock switch: some older keyboards and laptops have a keyboard lock switch or key. Look for a padlock icon.

Restart and check the connection

  1. Restart your PC with Start > Power > Restart.
  2. For a USB keyboard, plug it into a different USB port, directly into the PC.
  3. For a wireless keyboard, replace the batteries and reconnect the receiver or Bluetooth.

A key that is physically stuck down, often Shift, Ctrl or Alt, can make the whole keyboard seem locked because every press turns into a shortcut. Press each modifier key a few times, and clean around any key that feels sticky. To see what Windows thinks is held down, open the On-Screen Keyboard: a stuck key shows as highlighted.

Reinstall the keyboard driver

  1. Right-click Start and select Device Manager.
  2. Expand Keyboards, right-click your keyboard, and select Uninstall device.
  3. Restart your PC. Windows reinstalls the keyboard.
Windows 10 Device Manager with Keyboards expanded and Uninstall device highlighted in the right-click menu
Expand Keyboards (1) and select Uninstall device (2).

You can also select Update driver instead. When several devices act up at once, it may be time to update all your drivers.

Laptop keyboards by brand

  • Dell: test the keyboard with SupportAssist.
  • HP: test it with HP PC Hardware Diagnostics.
  • Lenovo: test it with Lenovo Vantage.

The Fn lock key differs by model. Look for a padlock and Fn on a key, often Esc.

If none of this helps and an external USB keyboard works, the laptop keyboard may need repair.

Frequently asked questions

Why did my keyboard suddenly stop working?

Most often Filter Keys was turned on by holding Shift, or the keyboard lost its connection.

How do I unlock the keyboard if I can’t type my password?

Select the Ease of Access icon on the sign-in screen and turn on the On-Screen Keyboard.

My keyboard types the wrong characters. Is it locked?

No. Your keyboard layout may have changed, and you can change keyboard settings back to normal.

How can I tell if it’s a hardware or a Windows problem?

Restart the PC and press the key that opens the BIOS or UEFI setup, such as F2 or Delete. If the keyboard works there, the keyboard is fine and the problem is in Windows, like a setting or driver. If it doesn’t work there either, the keyboard or its connection is likely faulty.

Is it safe to use my laptop with an external keyboard instead?

Yes. A USB or Bluetooth keyboard works alongside the built-in one. It’s a good stopgap while you wait for a repair.

Related fixes: turn off Caps Lock when everything types in capitals, or use the function keys without pressing Fn. More ways to open the On-Screen Keyboard help while the keyboard is down.

The shortcuts that turn Filter Keys, Sticky Keys and the On-Screen Keyboard on and off are listed in Windows keyboard shortcuts for accessibility.