If I have WinSCP connect to an unreachable host, it will enter some sort of hung state (the connection dialog doesn't repaint itself), and the damn screen lock doesn't activate! That is great.
Now, is there a way to extract this functionality into a tiny utility to prevent the screen from locking? This would be a really useful tool, as it doesn't fake any keyboard or mouse movement, and I've seen requests for such a utility on various forums (<invalid hyperlink removed by admin>).
Also, it might be a good idea to fix that behavior in WinSCP.