For what it’s worth, I used to have this problem which was exacerbated by the accelerometer hack and by plugging and unplugging power. Newer keyboard firmware fixed it for me for the most part. I still have occasional times where the keyboard and trackball inputs are not being registered, and I almost universally go for the new option in the OLED to reset USB instead - works every time pretty much instantly, and you don’t have to convince the keyboard that you’ve already turned the device on after resetting it.
To be clear: with the full freezes I encountered earlier during normal operation, resetting wasn’t possible because the OLED menu was also unresponsive. The reset workaround only works when the keyboard is unresponsive at boot when entering the encryption password