Hi David
My name is Andre Da Costa; an Independent Consultant, Windows Insider MVP and Windows & Devices for IT MVP. I'm here to help you with your problem.
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.
Also...
Press Windows key + X
Click Device Manager
Expand Universal Serial Bus controllers at the bottom
Right click each entry then click uninstall
Exit then restart
Windows 10 will then redetect them. Check if the keyboard then works.
Information in the above link is sourced from a trusted Microsoft MVP Blog.