To unlock your laptop keyboard, turn off the laptop, remove the battery for around 30 seconds, and then put the battery back into the laptop. Turn on the laptop, and then check whether the keyboard is working.
If the keyboard does not respond, click Start on the task bar, go to the Control Panel and then click Accessibility Options. On the new window, click on the Keyboard tab, and make sure all the check boxes are not checked.
If the laptop has Windows Vista as the operating system, go to Ease of Access and then select Change how your keyboard works. On the new page, make sure all check boxes are not checked. Click Save to save the recent changes. Exit the Control Panel, and begin typing to check whether the keyword works.
Alternatively, if the keyboard is not responding due to lost communication with the computer, turn off the computer, unplug the keyboard for 30 seconds and then plug it in again. If the keyboard connects to the computer via a USB port, plug the keyboard into a different USB port, and then restart the computer. The lights at the top-right corner of the keyboard should blink as the computer restarts to show that the keyboard works.