Your keyboard is locked when keys don't register or the whole keyboard is disabled

A locked keyboard usually means one of three things: the Num Lock or Caps Lock key is on and changing how your keys work, a keyboard driver has crashed and needs restarting, or Windows has activated an accessibility feature that's blocking input. The fix depends on which one is happening, and most take less than a minute.

Start by checking the lights on your keyboard itself. If the Num Lock light is on, press the Num Lock key once to turn it off—this is the most common reason keys seem to stop working. If Caps Lock is on, press it to turn it off. If neither light is on and your keyboard still isn't responding, move to the next section.

Key Takeaways

  • Check whether Num Lock or Caps Lock is on by looking at the lights on your keyboard, and press the key to turn it off if it is.
  • If the keyboard is completely unresponsive, restart your computer—this fixes most driver problems without any other steps.
  • If restarting doesn't work, open Device Manager by right-clicking the Start button, find Keyboards, and restart the keyboard driver by right-clicking it and selecting Restart device.
  • Windows Sticky Keys or Filter Keys may be blocking your keyboard; turn them off in Settings under Ease of Access.
  • If your keyboard works in Safe Mode but not in normal Windows, a recently installed program or driver is likely the cause.

Restart your computer first

Before you dig into settings, restart your PC. A keyboard driver—the software that tells Windows how to use your keyboard—sometimes crashes and stops responding. Restarting clears this out and reloads the driver automatically.

Save any open work, then click the Start button, click the power icon, and select Restart. Wait for your computer to shut down and turn back on, then test your keyboard. If keys now register, you're done.

Restart the keyboard driver in Device Manager

If restarting your computer didn't work, the keyboard driver may need to be reset without restarting everything. Open Device Manager by right-clicking the Start button and selecting Device Manager from the menu.

Look for the Keyboards category in the list and click the arrow next to it to expand it. You'll see your keyboard listed—usually something like "Standard PS/2 Keyboard" or "HID Keyboard Device." Right-click on it and select Restart device. Windows will reload the driver, and your keyboard should respond again within a few seconds.

If you don't see a Keyboards category, click the View menu at the top of Device Manager and select Show hidden devices. Then look again.

Turn off Sticky Keys or Filter Keys

Windows has accessibility features called Sticky Keys and Filter Keys that change how your keyboard works. Sticky Keys lets you press Ctrl, Alt, or Shift once and have it stay active—useful if you can't hold multiple keys at once. Filter Keys ignores rapid key presses or holds. If either is on, your keyboard may feel locked or unresponsive.

Open Settings by pressing Windows key + I. Go to Accessibility on the left side, then select Keyboard. Look for Sticky Keys and Filter Keys. If either toggle is on (blue), click it to turn it off. Test your keyboard right away.

If you can't open Settings because your keyboard isn't working, you can also turn these off by holding the Shift key for five seconds—this opens a dialog asking whether to turn Sticky Keys on or off. Select Off.

Check for a physical lock or connection issue

If your keyboard is wireless, check that it's turned on and that the batteries have charge. Look for a power switch on the back or bottom of the keyboard and flip it on. If it has a rechargeable battery, plug it in for a few minutes and try again.

If your keyboard is wired, unplug it from the USB port, wait five seconds, and plug it back in. Windows will detect it and reload the driver. If you're using a USB hub, try plugging the keyboard directly into a USB port on the back of your computer instead—some hubs don't provide enough power.

Boot into Safe Mode to test the keyboard

If your keyboard works in Safe Mode but not in normal Windows, a program or driver you installed recently is blocking it. Safe Mode loads only the essential Windows files and drivers, so if your keyboard works there, the problem is something you added.

Restart your computer and hold the F8 key as it starts up (on some computers it's Shift + F8 or Delete). Select Safe Mode from the menu. Test your keyboard. If it works, restart normally and uninstall any programs you installed in the last few days—start with antivirus software, keyboard customization tools, or gaming software, as these often conflict with keyboard drivers.

Reinstall the keyboard driver

If restarting the driver didn't work, you can remove it completely and let Windows reinstall it fresh. Open Device Manager again, find your keyboard under Keyboards, right-click it, and select Uninstall device. Check the box that says Delete the driver software for this device, then click Uninstall.

Restart your computer. Windows will automatically detect the keyboard and install the driver again. This usually fixes driver corruption that a straightforward restart won't clear.

If you have the keyboard's original driver disc or downloaded a driver from the manufacturer's website, you can also install that instead. Go to the keyboard maker's support page, search for your keyboard model, and read the latest driver. Run the installer and restart your computer.

When to contact the manufacturer or a technician

If none of these steps work, the keyboard itself may be failing. Try plugging a different keyboard into your computer—if that one works, your original keyboard has a hardware problem and will need to be replaced.

If a different keyboard also doesn't work, the problem is your computer's keyboard port or motherboard, and you should contact a repair technician or the computer manufacturer. If you're using a laptop, keyboard replacement usually requires opening the case, so professional service is the safer choice.

Frequently Asked Questions

Why does my keyboard lock up when I press certain keys?

This usually means Num Lock is on and changing what those keys do. The number pad keys become numbers instead of arrow keys and navigation commands. Press Num Lock to turn it off. If it keeps happening, the Num Lock key itself may be stuck or failing.

Can I unlock my keyboard without restarting?

Yes. Try restarting the keyboard driver in Device Manager, turning off Sticky Keys or Filter Keys in Accessibility settings, or unplugging and replugging a wired keyboard. Restarting your computer is the fastest fix if none of those work, but it's not always necessary.

What if my keyboard works in some programs but not others?

This usually means a specific program is blocking keyboard input—often a game, video player, or full-screen process. Click outside that program or press Alt + Tab to switch to another window and test your keyboard there. If it works elsewhere, the program itself is the issue, not your keyboard or Windows.

Is there a keyboard lock feature in Windows I can turn on or off?

Windows doesn't have a built-in keyboard lock feature, but Sticky Keys and Filter Keys can make your keyboard feel locked. Some third-party keyboard software includes a lock feature—if you installed custom keyboard software, check its settings. You can also disable a keyboard entirely in Device Manager by right-clicking it and selecting Disable device.

My keyboard is wireless and stopped working. What should I check first?

Check that the keyboard is powered on and has battery charge. Look for a power switch on the back or bottom and flip it on. If it has a rechargeable battery, plug it in for a few minutes. If the keyboard has a pairing button, press it to reconnect to your computer. If none of that works, try the driver restart steps above.