simplify LockScreen script