Set macOS to Require a Password after Screen Saver Start or Display Sleep
/Don’t forget about local security on your Mac. Make sure to require a password shortly after the screen saver starts or the display sleeps to prevent people from riffling through your email, photos, messages, and more.
Read More