I idly looked up how to disable an internal laptop keyboard on windows 10, and the solution people have come up with is very silly:

you go into device manager, find the keyboard, and switch it to a driver that doesn't work with your keyboard

like you set a PS/2 keyboard use a Toshiba Japanese USB Keyboard driver.

Windows will detect it doesn't work, then turn it off.

couldn't you just uninstall the original device? No, windows will just reinstall it next time you reboot.

(unless you modify windows to not do that. Just turn off PLUG & PLAY in order to keep one device driver from being loaded)

the other solution someone figured out is to rename the driver on the disk and then uninstall your keyboard driver. it won't automatically reinstall it if it can't find the driver!
this is silly.
@foone does the "disable" / "do not use this device" setting do anything in that case?