You can, but the work pauses until you open it again. Why Claude Code stops when your laptop sleeps, and how to keep it running.