Hello,
Thank you for your reply and providing Information.
If Keyboard is working in BIOS then it should also be working in Windows , Please try to perform Windows 10 upgrade repair using Windows 10.iso file.
Please see below articles for step-by-step guide.
https://answers.microsoft.com/thread/35160fbe-9...
https://answers.microsoft.com/thread/f13be485-0...
Best Regards,
Prakash