how to unlock keys but mouse isn't working either

Hi,

Have you tried doing a hard reset? Unplug the AC adapter then press and hold the power button until the laptop shuts down completely. Once the laptop is completely off, remove the battery as well then press and hold the power button for 20 seconds then boot it up again. If the laptop will still freeze when inside Windows chances are the HDD has gone bad already or the Windows OS is infected by viruses.