OS X Lion: Require a password to wake your Mac
To keep the information on your Mac secure when you are away from it, set it to require authentication when it wakes from sleep. When you return to your Mac, type your login name and password to continue working.
- Choose Apple menu > System Preferences, click Security & Privacy, and then click General.
- Select “Require password... after sleep or screen saver begins.”
You can adjust the amount of delay before a password is required in the pop-up menu.
To lock your screen quickly with fast user switching enabled, choose Login Window from the menu with your user name. Your applications will remain open and undisturbed, but your computer islocked.
Locking the screen doesn’t prevent other users from turning off the computer and restarting it, and then logging in to their own accounts. If you think this could happen, be sure to save your work before you leave your computer.
You can use your administrator name and password to unlock the screen for your own account or the account of a standard user, but not the account of another administrator.