Lock screen before hibernation