If you want the screen to lock when you close your laptop lid, change the setting "/apps/gnome-power-manager/lock/blank_screen" to true in gconf-editor. Bingo.