"In Fedora 8 when I closed my laptop lid, my screen would lock. Under Ubuntu 8.04 this doesn’t happen. After a bit of digging, I found a solution. The gconf-editor setting is “/apps/gnome-power-manager/lock/blank_screen”. When set to true, closing the lid will lock the screen. Luvvvly. :)"