For what it's worth, limiting Keyboard and Mouse input can be done by using low level keyboard and mouse hooks.
Beware that debugging these kind of projects can be quite .. interesting as you have your keyboard and mouse hooked and therefore - depending on your application logic - blocked.
Basically you have to have a host application and a library.
The host application loads the library which implements the hooks you defined.
For more information look here:
LowLevelKeyboardProc callback function
LowLevelMouseProc callback function
⚠️ CTRL+ALT+DEL can't be hooked/blocked, maybe Kiosk mode is realy what you need.