To unlock a keyboard, press Fn + Scroll Lock or hold the Right Shift key for 8 seconds. If that does not work, the cause matters. This guide walks through every fix, ordered by how common the problem actually is.
Quick Answer: How to Unlock Your Keyboard Right Now
Three fixes resolve most keyboard locks within a minute:
- Fn + F11, Fn + F12, or Fn + Scroll Lock (varies by laptop brand)
- Hold Right Shift for 8 seconds to turn off Filter Keys
- Restart the device to clear software glitches
If none of these work, keep reading. The fix depends on what caused the lock in the first place, and that varies more than most guides admit.
Keyboard Locked or System Frozen? Know the Difference First
This is the step most people skip, and it wastes a lot of time.
A locked keyboard means your mouse cursor still moves. The screen responds. Only the keys have stopped working. That points to a software setting, a driver issue, or an accidental key combination.
A frozen system means nothing responds. Cursor is stuck. Screen is static. That is not a keyboard problem. That is a full system crash, and the fix is a forced restart, not a keyboard shortcut.
Signs Your Keyboard Is Locked
- Mouse and touchpad still work normally
- On-screen elements respond to clicks
- Some keys work but others do not
- Keys type the wrong characters (letters producing numbers, for example)
Signs Your Entire System Is Frozen
- Mouse cursor does not move
- Clock on taskbar has stopped
- Screen does not respond to any input
- Caps Lock indicator light does not toggle
In practice, many users spend several minutes trying keyboard shortcuts on a fully frozen machine. If the cursor is not moving, go straight to a force restart. Hold the power button for 10 seconds, wait 30 seconds, then power back on.
What Causes a Keyboard to Lock?
Keyboards do not usually lock for mysterious reasons. Most of the time, it is one of a handful of things.
Accidental Key Combinations
Some laptops have a built-in keyboard lock triggered by pressing certain Fn key combinations. Users hit them by accident, the keyboard goes silent, and nothing looks different on screen. This is especially common on ASUS and HP laptops.
Accessibility Features Turned On
Windows includes features like Filter Keys, Sticky Keys, and Toggle Keys. These are designed to help users with motor difficulties. As noted according to Wikipedia, Filter Keys configures the keyboard to ignore brief or repeated keystrokes, making typing easier for people with hand tremors who may accidentally press keys multiple times.
If accidentally turned on by a regular user, it makes the keyboard seem broken. In practice, Filter Keys is one of the most frequently reported causes of a keyboard appearing locked.
Num Lock or Scroll Lock Activated
Num Lock makes certain keys type numbers instead of letters. Scroll Lock changes how arrow keys behave in spreadsheet software like Excel. Neither is obvious to a non-technical user, and both are commonly mistaken for a keyboard malfunction.
Outdated or Corrupted Keyboard Driver
Drivers are small programs that let Windows communicate with hardware. After a Windows update, a driver can become incompatible or stop loading correctly. The keyboard appears dead even though nothing physical has changed.
Keyboard Locked After a Windows Update
This is different from a general driver issue. A Windows update can actively overwrite a working driver with a version that conflicts with the hardware. The keyboard works fine one day and stops the next, with no other changes made. Teams managing multiple devices commonly report this pattern following major Windows cumulative updates.
Keyboard Locked After Sleep or Hibernate
Some systems fail to properly reconnect input devices after waking from sleep. The display comes back, the mouse works, but the keyboard stays unresponsive. This is a known and fairly common issue, particularly on older hardware or systems with aggressive power-saving settings.
Physical Issues
Debris under keys, stuck keycaps, or liquid damage can cause keys to jam or short. As reported by Wired, keeping keyboards free of debris and moisture is one of the most effective ways to prevent input failures, since a single stuck key can interfere with the entire keyboard's input signal in some cases.
Identify Your Cause Before You Fix It
Jumping straight to fixes without knowing the cause wastes time. This table maps symptoms to likely causes and the first fix worth trying.
|
Symptom |
Likely Cause |
First Fix to Try |
|
Letters type numbers |
Num Lock is on |
Press Fn + Num Lock |
|
Keys respond slowly or skip inputs |
Filter Keys is active |
Hold Right Shift for 8 seconds |
|
Full keyboard dead, mouse works |
Driver or software issue |
Restart the device |
|
Entire screen frozen, cursor stuck |
System crash, not keyboard lock |
Hold power button 10 seconds |
|
Keys feel physically stuck or jammed |
Debris or physical damage |
Compressed air or inspection |
|
Keyboard stopped after Windows update |
Driver conflict from update |
Roll back or reinstall driver |
|
Keyboard dead after waking from sleep |
Hibernate or sleep glitch |
Restart or press Win + Ctrl + Shift + B |
|
External keyboard not responding |
Connection or pairing issue |
Re-plug or re-pair the device |
How to Unlock a Keyboard on Windows
Method 1: Try the Fn Key Shortcut First
This is the fastest fix for laptop keyboards. Hold the Fn key (bottom-left of most keyboards) and press one of the function keys. The exact combination varies by brand.
|
Brand |
Common Unlock Shortcut |
|
ASUS |
Fn + F11 or Fn + F12 |
|
HP |
Hold Right Shift for 8 seconds |
|
Lenovo |
Fn + Scroll Lock |
|
Dell |
Fn + Scroll Lock or Fn + F6 |
|
Microsoft Surface |
Fn + Caps Lock |
Hold both keys for about one second and test the keyboard afterward. If it does not work on the first try, attempt the alternate combination listed for your brand.
Method 2: Turn Off Filter Keys
Filter Keys is the most common accessibility-related cause of a keyboard appearing locked.
Shortcut method: Hold the Right Shift key for 8 seconds. A dialog box will appear asking about Filter Keys. Select the option to turn it off.
Settings method:
- Windows 10: Settings > Ease of Access > Keyboard > Filter Keys, toggle off
- Windows 11: Settings > Accessibility > Keyboard > Filter Keys, toggle off
Method 3: Turn Off Sticky Keys or Toggle Keys
Press the Shift key five times quickly. If a dialog box appears asking about Sticky Keys, select the option to disable it.
For Toggle Keys, go through the same Settings path used for Filter Keys and turn off Toggle Keys in the same menu.
Method 4: Check Num Lock and Scroll Lock
If letters are producing numbers, Num Lock is on. Press Fn + Num Lock (or just Num Lock on full-size keyboards) to turn it off.
If arrow keys are not behaving correctly in Excel or similar software, Scroll Lock is likely the cause. Press Scroll Lock or Fn + Scroll Lock depending on your keyboard layout.
Method 5: Restart the Device
Simple, but consistently effective. A restart clears temporary software states that no amount of shortcut-pressing will fix.
- If the keyboard partially works: press Ctrl + Alt + Delete, then use the on-screen power button to restart
- If the keyboard is fully unresponsive: hold the physical power button for 10 seconds to force a shutdown, wait 30 seconds, then power back on
Method 6: Fix a Keyboard Locked After a Windows Update
If the keyboard stopped working right after a Windows update, the update likely overwrote a compatible driver.
- Right-click the Start button and select Device Manager
- Expand the Keyboards section
- Right-click your keyboard device and select Properties
- Go to the Driver tab and click Roll Back Driver
- Follow the on-screen steps and restart
If Roll Back Driver is grayed out, uninstall the device instead and restart. Windows will reinstall the driver automatically.
Method 7: Fix a Keyboard Locked After Sleep or Hibernate
Press Windows key + Ctrl + Shift + B simultaneously. This resets the graphics and input drivers without requiring a full restart. Many users report this resolves a post-sleep keyboard lock immediately.
If that does not work, do a full shutdown rather than sleep, wait 30 seconds, and restart.
Method 8: Update or Reinstall the Keyboard Driver
- Right-click Start > Device Manager
- Expand Keyboards
- Right-click the keyboard device > Update driver
- Select Search automatically for drivers
- If updating fails: right-click > Uninstall device, then restart the laptop
Windows reinstalls the driver on the next boot in most cases.
Method 9: Run the Windows Keyboard Troubleshooter
- Windows 10: Settings > Update and Security > Troubleshoot > Additional Troubleshooters > Keyboard > Run the Troubleshooter
- Windows 11: Settings > System > Troubleshoot > Other Troubleshooters > Keyboard > Run
The troubleshooter checks for driver issues and misconfigured settings automatically. It does not catch every problem, but it handles the common ones without any manual steps.
Method 10: Use the On-Screen Keyboard as a Temporary Workaround
When the physical keyboard is not responding at all, the on-screen keyboard lets you navigate settings to apply other fixes.
- Windows 10 and 11: Settings > Accessibility > Keyboard > On-Screen Keyboard, toggle on
You can then click letters using the mouse to type and navigate.
How to Unlock a Keyboard on Mac
Mac keyboards lock for different reasons than Windows keyboards, and the fixes sit in different places.
Check Slow Keys in Accessibility Settings
Slow Keys adds a delay between pressing a key and the character appearing. If turned on accidentally, the keyboard feels unresponsive or broken.
Go to System Settings > Accessibility > Keyboard, and turn off Slow Keys.
Check Mouse Keys
Mouse Keys redirects keyboard input to control the mouse pointer. When active, most keyboard keys stop typing and begin moving the cursor instead.
Go to System Settings > Accessibility > Pointer Control and turn off Mouse Keys. On some Mac versions, this is under Alternate Control Methods.
Restart the Mac
If the keyboard stopped responding and no accessibility settings appear to be the cause, restart the Mac through Apple Menu > Restart. If the screen is unresponsive, hold the power button until the machine shuts down, wait 30 seconds, and power back on.
Reset for Persistent Issues on Intel Macs
On Intel-based Macs, resetting the SMC (System Management Controller) can resolve input device issues that survive restarts. Shut down, hold Shift + Control + Option + Power for 10 seconds, release, then power on normally. Apple Silicon Macs do not have an SMC, and a standard restart handles the equivalent reset automatically.
How to Unlock a Desktop Keyboard
Desktop keyboards, whether wired or wireless, have their own set of common issues separate from laptop keyboards.
USB Desktop Keyboard
Unplug the keyboard from its current USB port and plug it into a different port on the machine. Some USB ports stop supplying power after system updates or sleep cycles. If that does not work, test the keyboard on a different computer. If it works there, the issue is with the original system's USB configuration or driver.
Wireless Desktop Keyboard
Check the USB receiver is fully seated in the port. Replace the batteries, even if the keyboard appeared to be working recently. Battery-related disconnections are more common than most users expect. If the keyboard has a sync button, press it and then press the corresponding button on the receiver to re-establish the connection.
How to Unlock an External or Bluetooth Keyboard
External USB Keyboard on a Laptop
Try a different USB port. If the keyboard works on another device, the issue is with the laptop's USB driver or port. Restarting the laptop usually resolves USB input driver conflicts.
Bluetooth Keyboard on Any Device
Go to Bluetooth settings on the device and remove the keyboard from the paired devices list. Turn the keyboard off and back on, then pair it again from scratch. Also check the battery level. A Bluetooth keyboard with low battery often disconnects intermittently before stopping entirely, and this is regularly mistaken for a lock.
Some Bluetooth keyboards have a physical lock key near the top-right corner. If present, pressing it once or twice may restore normal function.
How to Unlock a Keyboard on a Chromebook
Chromebooks handle keyboard issues differently from Windows or Mac, and the fixes are simpler in most cases.
Check for Accidentally Activated Shortcuts
Pressing Search + Alt or similar combinations can change keyboard behavior on Chromebooks. If keys are producing unexpected outputs, try pressing the same combination again to toggle the setting off.
Sign Out and Sign Back In
Some keyboard locks on Chromebooks are session-level, meaning they clear when you sign out of the Google account and sign back in. This takes less than a minute and resolves a number of input-related glitches.
Powerwash as a Last Resort
A Powerwash resets the Chromebook to factory settings. This will erase all local data. Only use this if every other option has failed and the keyboard issue is confirmed to be software-related. Go to Settings > Advanced > Reset Settings > Powerwash.
Prevention Tips
- Note your laptop's Fn shortcut and keep it somewhere accessible. Pressing it by accident and not knowing the fix causes unnecessary downtime.
- Turn off accessibility shortcuts you do not use. Filter Keys and Sticky Keys can be triggered by key combinations that happen during normal typing.
- Check Device Manager after every major Windows update. A yellow warning icon next to the keyboard entry signals a driver conflict before it becomes a full lock.
- Keep drinks away from the keyboard. Liquid damage accounts for a significant share of physical keyboard failures, and it is almost always avoidable.
- Use full shutdowns instead of sleep if your system frequently fails to wake keyboard input correctly.
When the Keyboard Cannot Be Unlocked
If every method above has failed, the issue is likely hardware-level.
Liquid spill protocol: Power off immediately. Do not try to save open files. Invert the laptop or keyboard to prevent liquid from spreading further. Let it dry for at least 24 hours before attempting to power on. Do not use a hairdryer. Heat accelerates corrosion.
Tell a repair technician which methods you already tried. This helps them rule out software causes and go directly to hardware inspection. On laptops, keyboard replacement is often a flat-rate repair that takes one to two business days.
Conclusion
Most keyboard locks come down to three things: an accidental key combination, an accessibility setting turned on by mistake, or a driver that needs a refresh. Start with the Fn shortcut for your brand, then check Filter Keys, then restart. Those three steps resolve the majority of cases without any technical knowledge required.
Frequently Asked Questions
How do I unlock my keyboard if the Fn shortcut does not work?
Try turning off Filter Keys by holding Right Shift for 8 seconds. If that does not help, restart the device. If the keyboard is still unresponsive after a restart, open Device Manager and reinstall the keyboard driver.
Why is my keyboard locked but my mouse still works?
This points to a keyboard-specific software issue rather than a system crash. Common causes include Filter Keys being active, a corrupted driver, or an Fn key lock. The system itself is fine; only the keyboard input is affected.
What is the keyboard unlock shortcut for common laptop brands?
ASUS uses Fn + F11 or Fn + F12. HP responds to holding Right Shift for 8 seconds. Lenovo and Dell generally use Fn + Scroll Lock. Microsoft Surface uses Fn + Caps Lock.
Why did my keyboard stop working after a Windows update?
A Windows update can replace a working keyboard driver with an incompatible version. Go to Device Manager, find the keyboard entry, open Properties, and use the Roll Back Driver option to restore the previous version.
How do I unlock my keyboard after it stopped responding during sleep?
Press Windows key + Ctrl + Shift + B to reset input drivers without restarting. If the keyboard stays unresponsive, do a full shutdown and restart rather than using sleep mode again.