Restart your computer a few times to see if it helps.
Open Start > Settings > Update & security > Troubleshoot
Scroll down
Click Keyboards
Click Run the Troubleshooter
When complete, restart to see if the problem is resolved.
Try connecting the keyboard to a different USB port if its a USB wired keyboard.
Press Windows key + X
Click Device Manager
Expand Keyboards
Right click keyboard
Click Uninstall
Exit Device Manager then restart
Reset your BIOS defaults:
https://www.groovypost.com/howto/reset-pc-bios-...
Try the keyboard with another computer to see if it works.
Check for the latest driver updates for your computer.
Try disabling the RAID settings in the BIOS If you have that configured.