Solutions for “Keyboard Locked” on Windows 7, 10, HP, Lenovo, Dell, Mac, and MacBook

Experiencing a locked keyboard can be a frustrating issue, whether it’s on your Windows 7 or 10 laptop, an HP, Lenovo, Dell laptop, or even a Mac or MacBook. A locked keyboard can disrupt your workflow and productivity.

However, don’t worry, this detailed guide will walk you through how to unlock a locked keyboard and provide possible reasons for your keyboard being locked.

Keyboard Locked

Why Is My Keyboard Locked?

There could be numerous reasons why your keyboard is locked. It could be due to a software glitch, accidental pressing of certain key combinations that activate a lock function, outdated drivers, or even a hardware issue.

How to Unlock a Locked Keyboard

Unlocking a Windows 7 or Windows 10 Keyboard

  1. Check the Lock Key: Some keyboards have a lock key that can disable the keyboard. Ensure it’s not activated.
  2. Try a Keyboard Shortcut: Press the “Windows + Spacebar” keys simultaneously. This keyboard shortcut can sometimes unlock your keyboard.
  3. Restart Your PC: A simple system restart can often solve the problem if the issue is due to a minor software glitch.
  4. Update or Reinstall Keyboard Drivers: Outdated drivers can cause your keyboard to lock. Navigate to “Device Manager” > “Keyboards”, right-click on your keyboard, and select “Update driver” or “Uninstall device”. If you chose to uninstall, restart your PC and the driver will be automatically reinstalled.

Unlocking a Locked Keyboard on an HP Laptop

  1. Use HP System Diagnostics: Restart your laptop and press “F2” as it boots to open the HP Hardware Diagnostics UEFI screen. Navigate to “Component Tests” > “Keyboard” and follow the on-screen instructions.
  2. Reset the BIOS Settings: Turn off the laptop, then turn it back on and immediately press “F10” to enter the BIOS setup utility. Use the arrow keys to select “Exit”, then “Load Setup Defaults”, and finally, “Exit Saving Changes”.

Unlocking a Locked Keyboard on a Lenovo Laptop

  1. Perform a Hard Reset: Turn off the laptop, unplug all peripherals, press and hold the power button for about 10 seconds, then release it. After that, turn your laptop back on.
  2. Use the Lenovo Diagnostics Tools: If your Lenovo laptop comes with a pre-loaded Lenovo Diagnostics tool, you can use it to check and solve hardware issues including a locked keyboard.

Unlocking a Locked Keyboard on a Dell Laptop

  1. Perform a System Restore: Use the “Windows + S” shortcut, type “System Restore” into the search box, and follow the prompts to restore your system to an earlier point.
  2. Try the Fn Key: On some Dell laptops, pressing the “Fn” key can unlock the keyboard.

Unlocking a Locked Keyboard on a Mac or MacBook

  1. Check for Updates: Ensure your macOS is up to date by going to “Apple Menu” > “System Preferences” > “Software Update”.
  2. Reset the SMC and PRAM/NVRAM: These resets can often resolve keyboard-related issues.


Keyboard locking can be an annoying problem, but it’s often one that can be solved with a bit of troubleshooting. Whether you’re working with a Windows, HP, Lenovo, Dell laptop, or a Mac or MacBook, there are solutions at hand to get you back on track.

Remember, if all else fails, it’s possible you might be dealing with a hardware issue, and professional assistance or contacting customer support may be necessary.