How to secure Mac laptop while it is running processes such as wget, or some local node.js apps?

Solution 1:

The "Lock Screen" feature is your friend:

enter image description here

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.