A script to bootstrap a fresh Mac to fully configured. Current as of Sonoma.
bash -c "$(curl -sL https://raw.github.com/gregschoen/bootstrap/master/bootstrap)"
This setting doesn't seem to be easily modded with defaults so do it manually:
Settings -> Lock Screen -> Require password.. display is turned off -> After 5 Seconds
- Restart needs to be done after setting the defaults otherwise they won't finalize