AI coders are carrying half-open laptops through airports, offices, and ice rinks
(www.businessinsider.com)
In fairness company security policies likely force the machine to sleep when the lid is closed, or as the very least lock the screen.
What they would do is have the agent running in a VM somewhere so they can close the lid and the work continues elsewhere not locally.