Hi all,
I have been facing a similar issue where specific keys would not work and functions (shift, for example) would only work on one side of the computer.
The problem was with Game Mode. You can disable this in settings by searching "game mode".
It seems like this option was automatically switched on after updating to Windows 11. The irony of having to turn off an "optimization" feature so that my machine works correctly.....I don't even use this computer to game!
Hope this helps!