How to secure Mac laptop while it is running processes such as wget, or some local node.js apps?
The &quot;Lock Screen&quot; feature is your friend:

all of your processes will continue to run, but your password will be needed to access anything.
Command+Control+Q if you need to dash off quickly.