Hi @Sirbu Rares
From your problem description its looks issue with your Motherboard USB ports itself as you are not able use Keyboard in Recovery mode or BIOS as well.
Please follow below steps to resolve the issue.
- Try to plug Keyboard on back side of the ports.
- Try to reset BIOS to default level using Jack or removing CMOS battery ( Do not worry it will not remove of your DATA on disk )
- Try SWAP Memory Modules
- Try to remove GPU if you additionally connected and use GPU from on-board.
- If the issue still persists it will be worth to get in touch with Mother board manufacturer.
Hope this answers your question :)
Thank you.
--
--If the reply is helpful, please Upvote and Accept as answer--