Check if screen is on before executing CMKeyguardBugLockAction