IF YOU INSTALLED AMPHETAMINE THEN SET IT TO 2 MINUTES TO PREVENT SCREEN BURN-INS
Download "Amphetamine” from the App Store (https://apps.apple.com/us/app/amphetamine/id937984704?mt=12)
Configure the settings in Quick Settings menu like this:
-Allow display sleep ✅
-Allow system sleep when display is closed ❌
-Allow screensaver after 45 minutes of inactivity❌
Click on “Indefinitely” under the menu “Start New Session” and close the lid of your MacBook!