Code example for KeyguardManager

Methods: isKeyguardLocked, isKeyguardSecure