Please try to boot into Safe Mode with Networking. Check if Keayboard and mouse could work.
Then uninstall USB driver and reinstall to check.
Some steps just like the information in the link below.
Hope this helps and please help to accept as Answer if the response is useful.
Keayboard and mouse doesn't work after startup
When I start my PC and reach the windows 10 opening screen, my keyboard and mouse are not detected so i can't do anything.
Although, they correctly work in the bios ans in the troubleshooting menu. I tried to restore, troubleshot, change parameters at starting, restart/unplug many times but nothing works.
Thanks for your help