I'm trying to find a way to put my computer to suspend without getting screen locked after resume. If I run "pm-suspend" as root, it works perfect, screen isn't locked after resume. My guess is, Lxsession in some way calls "xscreensaver-command --lock" before executing "pm-suspend". It's OK for safety purposes as default setting, but it should be configurable. For now I didn't find any config file to disable it. I suspect it's somewhere hardcoded into Lxsession.
Screen locking is turned off in xscreensaver options. Distro is Opensuse 11.3, by default there's XFCE Power manager installed, but it doesn't respect my settings about screen locking.
If xscreensaver daemon isn't working while suspending, screen isn't locked after resume.