It's probably a shortcut intercepted by the terminal emulator or the underlying shell, etc., so the focus goes away from the terminal itself (and the IDE) and it appears as if it were frozen.
The solution, if any, depends on which OS, which shell and/or which terminal you're using.