Your keyboard is locked when keys don't register or respond to your typing

A locked keyboard usually means one of three things: the Num Lock or Caps Lock key is on and changing how your keys behave, a physical lock feature is engaged, or your keyboard has frozen because of a software problem. The fix depends on which one is happening. Most of the time, you can unlock it in under a minute by pressing a single key or restarting your computer.

If your keyboard is physically locked—some office and laptop keyboards have a mechanical lock—you may need a key or a reset. But if you're typing and nothing appears on screen, or only capital letters appear, or the number pad types symbols instead of numbers, a software lock is the cause, and you can fix it yourself.

Key Takeaways

  • Press Num Lock or Caps Lock to toggle these features off if your keyboard is typing the wrong characters or nothing at all.
  • If your keyboard is completely unresponsive, disconnect it and reconnect it, or restart your computer to clear a software freeze.
  • Some laptops have a keyboard lock in the BIOS settings that you can disable by restarting and entering the setup menu during boot.
  • Windows and Mac both have accessibility features that can lock the keyboard; check your settings if standard fixes don't work.
  • If your keyboard has a physical lock switch or keyhole, consult your device manual or contact the manufacturer for the unlock procedure.

Check Num Lock and Caps Lock first

Num Lock and Caps Lock are toggle keys that change how your keyboard behaves. When Num Lock is on, your number pad types symbols (like +, -, *, /) instead of numbers. When Caps Lock is on, every letter you type appears as a capital. Both have indicator lights on your keyboard—usually small LEDs near the top right—that glow when the feature is active.

Press the Num Lock key (usually in the top left of your number pad) to turn it off. Press the Caps Lock key (usually on the left side of your keyboard, below Shift) to turn it off. Watch the indicator lights. If they go dark, the lock is off and your keyboard should work normally again. Type a test character to confirm.

If you cannot see the indicator lights or are not sure which key is which, look at your keyboard. The keys are usually labeled. On a laptop, Num Lock may be a secondary function accessed by holding Fn and pressing another key—check your keyboard for the label.

Disconnect and reconnect your keyboard

If your keyboard is completely unresponsive—no keys work at all—a temporary software glitch may be freezing it. The fastest fix is to unplug it and plug it back in.

For a wired keyboard, unplug the USB cable from the back of your computer. Wait five seconds. Plug it back in. Your computer should recognize it automatically, and the keyboard should work again within a few seconds.

For a wireless keyboard, turn it off using the power switch on the back or bottom. Wait five seconds. Turn it back on. If it still does not respond, replace the batteries—a wireless keyboard with low batteries will not connect reliably.

Restart your computer to clear a frozen keyboard

If disconnecting does not work, restart your computer. This clears the keyboard driver from memory and forces your operating system to reload it fresh.

Save any open work first. Then shut down your computer completely (not sleep mode). Wait 30 seconds. Turn it back on. Once it finishes booting, test your keyboard. Most frozen keyboards work again after a restart.

If you cannot shut down because your keyboard is locked, hold the power button on your computer for 10 seconds until it powers off. This is a hard shutdown and should be a last resort, but it will force the restart you need.

Check Windows accessibility settings for keyboard locks

Windows has an accessibility feature called Filter Keys that can make your keyboard unresponsive if it is turned on. This feature is designed to ignore repeated key presses, but it can feel like your keyboard is locked.

Go to Settings > Ease of Access > Keyboard. Look for the Filter Keys toggle. If it is on (the switch is blue), turn it off. Also check Sticky Keys in the same menu—this feature is meant to help, but it can interfere with normal typing if enabled.

If you cannot use your keyboard to navigate settings, you can also reach this menu by pressing Windows key + U, which opens the Ease of Access center directly. Use your mouse to navigate if your keyboard is not responding.

Check Mac accessibility settings for keyboard locks

On a Mac, a similar feature called Slow Keys can make your keyboard feel locked. This feature requires you to hold a key down for a certain amount of time before it registers.

Go to System Preferences > Accessibility > Keyboard. Look for Slow Keys and turn it off if it is on. Also check Sticky Keys in the same menu.

If your keyboard is completely unresponsive on a Mac, restart your computer by going to Apple menu > Restart. If you cannot reach the menu, hold the power button until your Mac shuts down, wait 30 seconds, and turn it back on.

Unlock a keyboard locked in BIOS or firmware

Some laptops and office computers have a keyboard lock setting in the BIOS (Basic Input/Output System) or firmware. This is a deeper level of control than your operating system. If your keyboard does not work even before Windows or Mac loads, the lock may be here.

Restart your computer and watch the screen carefully during boot. You should see a message like "Press F2 to enter Setup" or "Press Del to enter BIOS." Press that key repeatedly as soon as you see the message. This takes you into the BIOS menu.

Once in BIOS, look for a menu item called Integrated Peripherals, Onboard Devices, or Internal Keyboard. The exact name varies by manufacturer. Find the keyboard setting and make sure it is set to Enabled. Save your changes and exit. Your computer will restart, and your keyboard should work.

If you are not comfortable navigating BIOS, or if you cannot find the keyboard setting, contact your computer manufacturer or a local technician. They can walk you through it or unlock it remotely.

Physical keyboard locks and what to do about them

Some keyboards—especially in offices or schools—have a physical lock switch or a keyhole. If your keyboard has one, it may be locked with a key. You cannot unlock this yourself without the key.

If you have lost the key, contact your IT department or the person who manages your computer. They should have a master key or be able to reset the lock. If you own the keyboard, contact the manufacturer with your model number—they can sometimes provide a replacement key or instructions for a factory reset.

Check your keyboard's manual or the manufacturer's website for your specific model. Some physical locks can be reset by holding a button for 10 seconds or by entering a code, but the process varies widely.

Frequently Asked Questions

Why does my keyboard only type numbers or symbols?

Num Lock is on. Press the Num Lock key to turn it off. Your number pad should then type numbers instead of symbols, and your keyboard should work normally.

My keyboard works but only types capital letters. How do I fix it?

Caps Lock is on. Press the Caps Lock key to turn it off. The indicator light should go dark. Your keyboard will then type lowercase letters normally.

My keyboard is completely dead. What should I do?

First, disconnect it and reconnect it. If it is wireless, check the batteries and turn it off and back on. If that does not work, restart your computer. If your keyboard still does not respond after a restart, the hardware may be damaged and you may need to replace it.

Can I unlock my keyboard if I forgot the physical key?

No, not without the key or a factory reset. Contact your IT department, your employer, or the keyboard manufacturer with your model number. They can provide a replacement key or unlock it for you.

Is there a keyboard lock in Windows I should know about?

Yes. Filter Keys and Sticky Keys in Ease of Access can interfere with normal typing. Go to Settings > Ease of Access > Keyboard and turn both off if they are on. This solves most software-based keyboard locks.