Use Device Manager
Expand Keyboards
Right-click the built-in keyboard
Select Disable device if available
If Disable device is not available, select Uninstall device
Restart the laptop
Use Group Policy Editor on supported Windows editions
Open gpedit.msc
Go to Device Installation Restrictions
Block installation of the keyboard device
Use a third-party keyboard disabling tool
Use BIOS or UEFI settings if the option exists
Connect an external keyboard first if needed
Use a keyboard filter driver for advanced control
Re-enable the keyboard later through Device Manager or the same tool
