UPDATE - How to disable M series macbook auto lid start up
- Open Terminal app in the Utilities folder of your Applications folder.
2.Type one of these commands in Terminal, then press return.
To prevent startup when opening the lid or connecting to power type: sudo nvram BootPreference=%00
To prevent startup when opening the lid type: sudo nvram BootPreference=%01
3. Type your administrator password when prompted (Terminal doesn't show the password as it's typed), then press return.
To undo any of the previous commands and re-enable automatic startup when opening the lid or connecting to power, enter: sudo nvram -d BootPreference in terminal.
Note: make sure the latest software update is installed before carrying out the above.