I found switchmon the ahk script to be the source of my problems lately locking inputs with win11 don't know if it was the root cause but PSA switching characters using the old code Rooks posted in the switchmon thread was the issue.
While I do miss having it especially to have it bring the window into focus when I was looking at something else on the machine.
Nilfs switch focus has saved me a bit of CPU leak which really helped on my backup rig.