How to Unlock Keyboard: Fix a Keyboard That Won't Type
A keyboard that stops typing is almost never locked by a single key. Filter Keys, a lock key, or a dropped connection explains most cases, and each one takes under a minute to rule out.

No single key locks a whole keyboard. On Windows, typing most often stops because Filter Keys has switched itself on, so hold the right Shift key for eight seconds to turn it back off. On a Mac, open System Settings and check Slow Keys under Accessibility.
A keyboard that has gone quiet feels broken, but the hardware is usually fine. Something has changed how Windows or macOS interprets your keystrokes, and that change is reversible.
Working out how to unlock keyboard input starts with ruling out Filter Keys, because that one accessibility setting explains most sudden cases. The rest of this guide works through the other causes in order, from the fastest check to the slowest.
What causes a locked keyboard
Filter Keys is the usual culprit on Windows. It tells the system to ignore brief or repeated keystrokes, so an affected keyboard either types nothing at all or drops most of what you press. It has a built-in shortcut, which is why it switches on by accident: Microsoft documents that holding the right Shift key for eight seconds toggles it.
Lock keys are the second cause, and they only lock part of the keyboard. Caps Lock, Num Lock and Scroll Lock each put a group of keys into a different mode rather than disabling them. On laptops without a separate number pad, Num Lock can convert part of the main keyboard into a numeric keypad, so letter keys start producing digits.
Sticky Keys is a third possibility. It changes how modifier keys behave, letting you press a combination one key at a time instead of all at once, which can make shortcuts behave unexpectedly. Pressing Shift five times toggles it.
Finally, a keyboard can simply have lost its connection or its driver. This is the likeliest explanation when nothing on screen responds at all, including the lock key indicator lights.
How to unlock keyboard input with the right Shift key
1. Press and hold the right Shift key — the one on the right side of the keyboard, not the left.
2. Keep holding it for a full eight seconds, then release.
Microsoft lists this as the shortcut that turns Filter Keys on and off. If Filter Keys was the problem, Windows plays a tone and shows a notification as the setting flips, and typing returns immediately. If you hear the tone but typing still fails, you may have just switched Filter Keys on — hold the key for eight seconds again to reverse it.
Turn Filter Keys off in Windows Settings
If the shortcut does nothing, set it manually. This also confirms the current state rather than toggling blind.
1. Open Settings.
2. On Windows 11, select Accessibility, scroll to the Interaction group, then select Keyboard. On Windows 10, select Ease of Access, then Keyboard in the sidebar.
3. Set the Filter Keys toggle to off. Windows 11 labels it Filter keys; Windows 10 labels it Use Filter Keys.
Windows 11 also exposes the sub-options behind that row, including settings to ignore quick keystrokes and to ignore repeated keystrokes. If you want Filter Keys available but not triggering by accident, leave the main toggle off rather than adjusting those.
Your keyboard should accept normal typing straight away. No restart is needed.
Check your lock keys
If only part of the keyboard misbehaves, a lock key is on. Most keyboards show this with indicator lights, commonly three LEDs near the number pad.
If letters arrive in capitals, press Caps Lock once; our guide to turning off Caps Lock covers the awkward cases. If letter keys produce numbers on a compact laptop, Num Lock has turned part of the main keyboard into a keypad. Laptops without a dedicated Num Lock key use an Fn key combination instead, and which key varies by manufacturer, so check the legend printed on your function row or your laptop maker's support pages.
Scroll Lock is worth a press too. In some applications, notably spreadsheets, it changes the arrow keys so they scroll the document instead of moving the cursor.
Unlock a Mac keyboard in Accessibility settings
macOS has no Filter Keys, but Slow Keys produces a similar symptom by adding a delay before a keypress registers.
1. Choose Apple menu > System Settings.
2. Click Accessibility in the sidebar, then click Keyboard. You may need to scroll down.
3. Turn off Slow Keys, which Apple describes as adjusting the delay between when you press a key and when it is activated.
Check Sticky Keys in the same panel while you are there. Apple describes it as pressing a set of modifier keys one at a time in sequence instead of all at once, and it can be toggled by pressing Shift five times. If Slow Keys was on, keystrokes register at normal speed as soon as you switch it off.
Reconnect the keyboard or reset its driver
If nothing above changed anything, treat it as a connection problem rather than a setting.
For a wired keyboard, unplug it and try a different USB port, ideally one directly on the computer rather than a hub. For a wireless keyboard, replace or recharge the batteries and re-pair it; the same steps that fix a Logitech keyboard that will not connect apply to most brands.
On Windows, you can also reinstall the driver. Open Device Manager, expand Keyboards, right-click your keyboard, choose Uninstall device, then restart. Windows reinstalls a standard keyboard driver automatically during startup.
If that didn't work
Narrow down whether the fault is software or hardware. Attach a second keyboard, or use the on-screen keyboard, and see whether typing works there. If the second keyboard is fine, the first one has a hardware fault. If both fail, the problem sits in Windows or macOS.
Try the keyboard before the operating system finishes loading, in the firmware or boot menu. A keyboard that works there but not on the desktop points firmly at a software cause. If you need to reboot without a working keyboard, our guide on restarting a PC with the keyboard covers the shortcuts worth trying first.
Still not working
A keyboard that fails in the firmware menu, on a second computer, or with several keys dead in a row is a hardware problem, not a locked setting. Spilled liquid and a dropped laptop are the common causes, and neither is fixed in software.
At that point, contact the manufacturer if the device is in warranty, or use an external keyboard while you arrange a repair.

By 

