MacBooks released in and after 2016 have a feature that enables them to boot as soon as the lid is opened. I wanted to replicate the feature on my 2013 MacBook Air (MacOS Catalina Public Beta 5), so I read through this article: http://osxdaily.com/2017/01/19/disable-boot-on-open-lid-macbook-pro/ and entered the following command
sudo nvram AutoBoot=%03
But it doesn't seem to work. Is there any alternative?