Click the Apple button to launch the menu. Enter the ‘System Preferences’ by using the drop-down menu.
After selecting the System Preferences, you need to click ‘Security and Privacy’.
You will find many taps in this option, but focus only on ‘General’.
After clicking the ‘General’ tab, select the check box that says ‘Require Password’. There are a few things you need to keep in mind at this stage.
In order to lock the Mac as soon as you close it, select ‘Immediately’ from the pull-down options. If you are interested in setting password only for start-up, ignore the other options.
One can also set password for waking up from sleep, and even screen saver. If you are interested in such options, select ‘After Sleep or Screen Saver Begins’. Don’t forget to set the lock delay time from the pull-down menu.
Now, it is the time to click ‘Disable Automatic Login’. One can also use a message as password hint. Type the message in the input field, and it will appear on the locked screen.
In order to make things more secure, click the padlock button that is at the bottom of the window. This option will prevent others from seeing your privacy and will secure the settings.