Perform all these steps when logged in from the problem user's account
Option 1: Run Keyboard Troubleshooter
Windows Key + X
Click Settings
Click Update & security
Click Troubleshoot
Scroll down
Click Keyboards
Click Run the Troubleshooter
Reboot your computer
Option 2: Turn off filter keys in Ease of Access
Windows Key+I to open Settings
Click Ease of Access
Click Keyboard
Ensure Filter Keys is OFF
Option 3: Start your computer in safe mode
Switch on and off your computer 3 times
Now your computer will go into Advanced Recovery Environment
Advanced Options > Troubleshoot > Advanced Options
Click Startup Settings > Restart
Press (4) to enable Safe Mode
Log in once Windows starts in safe mode
Now see whether keyboard is working
If yes, some program is conflicting with this.
You will have perform this detective work to find out which program