Will Claude keep running if you close your laptop or lock it? (And how to run Claude Code 24/7)
Closing the lid stops a long Claude Code run, and some tasks in the Claude app too. Below: what locking, sleep and a closed lid each do to Claude, then five fixes that keep Claude Code going while you're away, from a one-line command to a computer of its own.