On macOS, you can go to System Settings > Lock Screen to change when the display turns off, and on Mac laptops you can use ...
Thankfully, there's a fix. Apple didn't make the option obvious, but Auto Boot can be disabled with a simple Terminal command that puts the power button back in charge of, well, powering on. No more ...