Hi, I'm Bernard, a fellow Windows user. I'm happy to help!
I understand the issue you have. There is nothing to worry about. I am here to assist. There might be a hotkey that disables your keyboard. The fastest way to get back the keyboard is to reinstall the driver by following the steps below:
Right-click on the Windows icon on the taskbar, then select Device Manager
Click the drop-down for Keyboards
Right-click each driver under Keyboards, then select Uninstall device > then click Uninstall. (Do not check for Attempt to remove the driver for this device if there is an option)
Once done, on the top select Action > Select Scan for hardware changes (If the issue persists, restart the device and check)