There may be times when keys do not behave as expected. Depending on the circumstance, the keys may either type the wrong character or perform some other function. Apple Discussion poster "tommcnealy" ...
If your Windows desktop or laptop keyboard is not working properly and may be typing wrong characters, then run the built-in Keyboard Troubleshooter in Windows 11/10 to fix the problems automatically.