Is your keyboard typing different characters than the ones printed on its keys? This can happen when you switch the keyboard layout, but it can also result from app-specific problems, misconfigured language settings, outdated keyboard drivers, or other factors. Here are some solutions you can try.
Source : Keyboard Typing Wrong Characters on Windows 11? Try These Tips to Fix It