On macOS, you can go to System Settings > Lock Screen to change when the display turns off, and on Mac laptops you can use ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results