Skip to main content

Android Lock Screen Policy

Updated over a week ago

Overview

The Android Lock Screen Policy allows organizations to manage lock screen settings on Android devices. This policy is essential for enhancing device security and ensuring that important information or instructions are visible to users even when the device is locked.

  • Policy Name: Android Lock Screen Policy

  • Description: Manage lock screen settings and display custom messages on the device lock screen.

  • Minimum System Requirements: Android 9+

  • Supported Platforms: Android

Policy Fields and Configuration

1. Maximum Time To Lock

  • Field Name: maximumTimeToLockForInform

  • Display Name: Maximum Time To Lock

  • Description:
    Sets the maximum period (in milliseconds) before the device automatically locks.

    • Value: Integer (e.g., 300000 for 5 minutes)

    • Default: 0 (no restriction)

    • Requirement: Optional

    • Minimum System Requirement: Android 9+

  • How it works:
    If set to a value greater than 0, the device will lock after the specified period of inactivity. If set to 0, there is no enforced lock timeout.

2. Screen Lock Message

  • Field Name: lockScreenDataForInform

  • Display Name: Screen Lock Message

  • Description:
    Displays a custom message on the device’s lock screen. This can be used for displaying contact information, company policies, or emergency instructions.

    • Value Type: Dictionary (supports localization)

    • Requirement: Optional

    • Minimum System Requirement: Android 9+

Subfields

  • Default Message

    • Field Name: defaultMessage

    • Display Name: Default Message

    • Description:
      The message shown if no localized version matches the device’s language.

    • Value Type: String

  • Localized Messages

    • Field Name: localizedMessages

    • Display Name: Localized Messages

    • Description:
      A map of locale codes to messages, allowing you to display the lock screen message in different languages.

    • Value Type: Array of dictionaries

      • Locale

        • Field Name: locale

        • Display Name: Locale

        • Description:
          The locale code for the message (e.g., en, tr, de).

        • Value Type: String

      • Message

        • Field Name: message

        • Display Name: Message

        • Description:
          The message to display for the specified locale.

        • Value Type: String

JSON example for the policy

{
"lockScreenDataForInform": {
"defaultMessage": "If found, please contact IT.",
"localizedMessages": [
{ "locale": "en", "message": "If found, please contact IT." },
{ "locale": "es", "message": "Si se encuentra, por favor contacte a IT." }
]
}
}

Usage Scenario

For example, as requested in the document, enabling ANDROID_LOCK_SCREEN_POLICY ensures that all managed Android devices display a company-approved message on the lock screen and enforce a maximum lock timeout, improving both security and user guidance.

How to Enable

To enable the Android Lock Screen Policy:

  1. Navigate to your device management console > Policy Management > Create New Policy > New Policy from scratch.

  2. Locate the Android Lock Screen Policy settings.

  3. Configure the Maximum Time To Lock as needed.

  4. Set a Screen Lock Message and add localized versions if required.

  5. Save and apply the policy to your target device group.

Additional Notes

  • This policy is only available on devices running Android 9 or higher.

  • Custom lock screen messages can help with device recovery and compliance.

  • For further assistance, contact your IT administrator or refer to your organization’s device management documentation.

Did this answer your question?