https://bugs.winehq.org/show_bug.cgi?id=43273
--- Comment #15 from Shmerl shtetldik@gmail.com --- I noticed the following in /var/log/Xorg.0.log when this freeze happens:
[ 8704.853] (II) event4 - (II) Power Button: (II) device removed [ 8704.876] (II) event3 - (II) Power Button: (II) device removed [ 8704.892] (II) event0 - (II) HID ####:####: (II) device removed [ 8704.932] (II) event1 - (II) HID ####:####: (II) device removed [ 8704.964] (II) event2 - (II) Logitech G400s Optical Gaming Mouse: (II) device removed [ 8705.004] (II) event19 - (II) UVC Camera (####:####): (II) device removed [ 8705.052] (II) AIGLX: Suspending AIGLX clients for VT switch
I.e. Xorg somehow deactivates all USB devices (thus the keyboard and mouse freeze, even after you disconnect / reconnect them). Suspending AIGLX clients for VT switch message is also pretty suspicious.