Try:
Go System > Preferences > Screensaver
and uncheck the box that says lock
when screensaver is active.
Else
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock_on_blank_screen false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock_use_screensaver_settings false
If these 2 don't work then
Open the terminal, and type sudo
gconf-editor (you'll need to type root
password) In the window that comes up
go to apps > gnome-power-manager >
lock On the right, UNCHECK suspend and
hibernate and make sure that the
use_screensaver_settings is CHECKED
or -
In your terminal type sudo gedit /etc/default/acpi-support
Go to the line that says LOCK_SCREEN=true and put a # in front of it.
Close, save and try it out.
All solutions via UbuntuForums