If previous healthy recovery point still cannot fix issue, I think it should not be a system issue but a device issue.
You could enter BIOS to check if keyboard works.
Try to use other mouse or keyboard for test.
Try to insert mouse and keyboard into other USB ports and reboot computer.
-------------------------------------------------------------------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.