After a Resume, the system's screen lock is invoked by default. To disable the screen lock before you use the power key to Suspend, use the following procedure.
You cannot disable screen locking that is put into effect by AutoShutdown. This is a security feature. It ensures that only someone who knows your password can get access to your work session when the system Resumes.
For more information, see the man page for speckeysd.map(4).
Save your work if you have not already done so.
Exit the current windowing session and restart.