To “unfreeze” the console simply hit CTRL+Q
Apparently CTRL+S actually does XOFF, which means the terminal will accept key strokes but won’t show the output of anything. Press CTRL+Q to turn flow-control on (XON)
To disable keyboard listening to XOFFs, add this to your .bashrc (man stty for more options)
stty ixanyIf you need to send CTRL+S and/or CTRL+Q you can just add
stty ixoff -ixon
stty stop undef
stty start undef