The keyboard can only be used when you enter the system.

Does my friend's keyboard have a USB interface? If so, don't worry:

By default, does USB keyboard support DOS?

Press the DEL key to enter BLOS after booting, and select "Support USB Keyboard" under "Chipset Feature Settings".

Just set it to "Enable", and it is "Disabled" by default, so it is not available.

If it's too much trouble, buy a USB to PS2 interface.