How to prevent your Mac to sleep when closing lid
The MacBook series automatically goes to sleep when you close the screen, but you may not want to put it to sleep.
Here, I will explain in detail the two steps, one using the standard Mac functions and the other using the app, with illustrations.