Hello! My name is Mostafa; I will assist you today.
I’m sorry that you are experiencing this issue.
To address the issue, please disable the keyboard by going to Device Manager, right-clicking your keyboard, turning it off, and trying to use the on-screen keyboard to see if the issue persists. To open the on-screen keyboard, press Win + Ctrl + O keys.
If the issue does not persist, uninstall the keyboard driver, restart your PC and let Windows install it again.
Keep me posted. Thank you.