Accidentally pressing the Windows key on your keyboard can be very annoying. Sometimes, it kicks you out of a full screen game by opening the Start menu or accidentally launching a shortcut. Luckily, there is a way to disable the lock on your Windows 10 PC. This is how you do it.
An easy way to deactivate Windows keys is to use Microsoft’s free PowerToys utility. With Power Tools, you can reassign any key to another function. In this case, we will change the Windows key to “Undefined,” which means nothing happens when you press it.
To disable the Windows key, download Microsoft PowerToys if you have not installed it. Launch PowerToys, and click “Keyboard Manager” in the sidebar, and then click “Remap A Key.”
In the “Remap Keyboard” window, click the “+” plus button to add a mapping definition.
To change the key mapping, you select the button that you want to change in the left column, then specify what you want to do in the right column.
Using the drop-down menu under the “Key:” header on the left, select “Win.” In the “Mapped to” section on the right, click the drop-down menu and select “Not specified.”
Click “OK,” and Windows will give you a color that you won’t be able to use the Windows key because it won’t be set. Click “Continue anyway.”
After that, the Windows key must be deactivated. Your settings have been saved, and you are free to close PowerToys and use your computer as usual.
Unlike other ways to remap keys such as using SharpKeys and the Windows Registry, you don’t need to exit or reboot for your changes to take effect. Windows key will be immediately deactivated.
How to Reactivate the Windows Key
If you change your mind and want to reactivate the Windows key, launch PowerToys and navigate to Keyboard Manager> Remap a Key.
Find the “Win -> Undefined” mapping, and click the nearest trash can icon to delete it. Then click “OK” to close the window. After that, your Windows key will work normally.