https://bugs.winehq.org/show_bug.cgi?id=50449
--- Comment #7 from RĂ©mi Bernon rbernon@codeweavers.com --- Thanks!
I'm not sure if that's what you were describing, but the only issue I could reproduce is that when both keyboard and mouse are used at the same time, some key release events are sometimes missed, and player movement continues like if the key is kept pressed forever until it's pressed and released again. I wouldn't describe that as a freeze though.
It only happens for me with wined3d, not when using dxvk. In the former, the threads are much more busy and that could cause some timing issues, ultimately missing events, although I'm mostly speculating here.
Could you confirm that it's the same problem you are seeing? (Or maybe it behaves differently for you, but it may still be the same root cause)