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.