Since the keyboard work fine after restarting your computer, most probably the issue is software related. Go through the provided steps. If the issue still persists, I suggest performing Windows repair:
https://www.elevenforum.com/t/repair-install-wi...
Please keep me posted.
____________________________________________________________
Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.