Hi
Welcome to Microsoft community.
I'm glad to help you.
To help you more accurately, check whether you have tried the external keyboard and whether the problem disappears.
At the same time, you can open the on-screen keyboard to check whether the same key position has the same error.
You can also create a local administrator account to check whether the problem disappears.
By the way, if your keyboard is a mechanical keyboard, there may be some function shortcuts or keyboard macro functions on the mechanical keyboard. You may accidentally turn it on, causing the problem. If so, you can check your keyboard manual and reset your keyboard to see if the problem disappears.
If anything is unclear, please do not hesitate to let me know.
Best regards
Derrick Qian | Microsoft Community Support Specialist