There is an option "Lock screen on resume" in the power management (system settings, advanced). Is that option activated?