How do I stop the screen from being locked on suspend?
For 11.10
What worked for me on Ubuntu 11.10 is to execute the following in a terminal:
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
You can also install dconf-tools and use dconf-editor to set the same setting manually.
For 13.04
Open a terminal (Ctrl+Alt+T) and type the following:
gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend 'false'
For 11.04 and earlier:
Edit your acpi-support file by pressing Alt + F2 and pasting
gksu gedit /etc/default/acpi-support
Find the line that says LOCK_SCREEN=true and comment it out to disable screen locking on resume.