
Select Uninstall Device from the context menu when you right-click on it.It will most likely be known as the HID Keyboard Device.

If you have an external keyboard connected and want to disable it, go to the same Keyboards branch as before in ‘Device Manager’ and select your USB keyboard.Your keyboard is now disabled, at least until the next reboot.When prompted, click Uninstall once more.Uninstall Device by right-clicking on your PS/2 keyboard (built-in keyboard).Then, before Keyboards, click the arrow to expand it.Select Device Manager from the Start Menu by right-clicking on it.In the Device Manager, you can disable your keyboard for the current session. Using Device Manager, temporarily disable the keyboard. Knowing how to do this is especially important if you have children or pets at home, so you don’t get a blur of nonsensical noises when the keys are accidentally pressed.

If you’re going to be absent from work, school, or home, keeping your keyboard disabled is a good security precaution. However, if a few keys are not working properly, you may be forced to disable the keyboard. The keyboard is one of the most important PC peripherals, and it must function properly if you are to interact with your computer in any meaningful way.
