Hello there!
I had the same issue and tried the same steps as you but nothing seemed to fix it.
Then I found a solution that worked for me. I am not from a computers background so apologies in advance for the clunky explanation.
Windows 11 (for some godforsaken reason) has too little virtual RAM allocation by default. So if there are programs consuming too much memory, the system puts the keyboard input "on hold" until its done processing.
I increased the VRAM allocation, and the issue was fixed.
Changing VRAM allocation:
Settings > System > About > Advanced system settings > Advanced (tab) > Settings (under Performance) > Advanced (tab) > Change (under Virtual memory) > Uncheck Auto manage paging size > Select Custom size > Enter initial and max values > Set > Ok
I used 9216 MB and 12288 MB as initial and max size for my PC with 16GB of RAM, I suggest doing your own research to find the right values for your PC.
Hope this helps!