Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

GGJstudios

macrumors Westmere
May 16, 2008
44,545
943
Enable (check) "Require password to wake this computer from sleep or screen saver" in the Security preferences (in System Preferences). Then set a screen saver.
 

TEG

macrumors 604
Jan 21, 2002
6,621
169
Langley, Washington
Open Keychain Access, open Preferences, select "Show Status in Menu Bar". Then whenever you want to lock your screen, you simply select the lock icon and select "Lock Screen".

Or You can use AirLock, as it will allow you to lock and unlock your computer based on the proximity of your iPhone to the computer - http://themha.com/airlock/index.html?s=a

TEG
 

MultiFinder17

macrumors 68030
Jan 8, 2008
2,720
2,039
Tampa, Florida
If you want a nice, quick way, go to System Preferences and require a password immediately after sleep or screen saver begins. Then, go into Exposé and Spaces in System Preferences, and in the Exposé tab, set one of the screen corners to put the display to sleep. Pop your cursor to that corner, and boom - locked screen.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.