I checked bios and yes, there are options for mouse boot and keyboard boot. I chose keyboard boot and picked a number.
In the first boot I got a BSOD. Was it random?
I guess there is no bios option for keyboard's shut down, but maybe there are programs to do that?