When you use your HP laptop for work or just to surf the Internet, it's very frustrating when the keyboard locks up. It can also be expensive if you need to hire a professional to fix your keyboard. Luckily, whether you know what caused the keyboard to lock up or not, often with advanced troubleshooting you can solve this problem yourself.
Power your laptop off completely.
Take the battery out of the laptop. Typically the battery is located underneath the laptop towards the top.
Leave the battery out for 30 seconds. This will allow the laptop to refresh itself.
Put the battery back into the laptop.
Power your computer on. Once your computer has rebooted, check to see if the keyboard is working.
Open the "Start" menu on your laptop, if the keyboard is still locked up.
Click on the Control Panel.
Go into the "Accessibility" options.
Open the tab labelled "Keyboard".
Make sure none of the boxes have a check in them. If the laptop has Microsoft Vista as the operating system, go to the "Ease of Access" option and go to "Change how your keyboard works." Make sure none of the boxes in that section are checked.
Click the "Save" button.
Exit the Control Panel and begin typing to see if the keyboard is now working.