# Device Remote Lock

## Overview

The Device Remote Lock feature allows organizations to remotely lock devices and display a predefined message on a customizable screen. This helps manage devices designated for repair, replacement, decommissioning, or other purposes, while also preventing unauthorized use during these processes.

{% hint style="info" %}
This feature is only available on devices with Launcher 3.25.29 or higher.
{% endhint %}

## User Guide

When Device Remote Lock is activated, deactivated, or even during Launcher startup, the device adjusts its behavior to prioritize security until certain requirements are met. Understanding how the feature operates in these scenarios equips users to manage it effectively.&#x20;

#### When Lock Screen is Activated:

* If a user is logged in, the system will automatically log the current user out.
* The UI will change to display the new Lock Screen interface.
* Device controls, such as the notification pull-down, will be disabled.

#### When Lock Screen is Deactivated:

The UI will update to confirm the device is in Open Zone.

#### During Device Boot / Launcher Startup:

If the device was locked before rebooting, the device will automatically return to lockdown mode after completing the startup process.

## How to Activate Device Remote Lock

#### On Portal - Device Actions - Remote Lock menu item:

To use Device Remote Lock on the BlueFletch Portal, navigate to the **Device** page, click on **Device Actions** to expand the menu, and select the **Remote Lock** button. Click the **Lock Device** button.

<figure><img src="/files/2I6tCszOeFWKeUI7lhXr" alt="" width="536"><figcaption></figcaption></figure>

The message ‘This device has been locked by your administrator. Please return this device to the cradle.’ will be displayed on the screen to prompt the user to take the corresponding action.

<figure><img src="/files/LYQYoT0FTM7mLU8howdN" alt=""><figcaption></figcaption></figure>

#### On Portal - Enterprise Launcher - Notifications:

```json
{
   "notificationId": 6001,
   "notificationAction": "cancel",
   "packageName": "com.bluefletch.ems.emm.launcher",
   "intentAction": "com.bluefletch.ACTION_FORCE_LOCK_ENABLE"
}
```

#### Using ADB command (update package name as needed):

```json
adb shell am broadcast -a com.bluefletch.ACTION_FORCE_LOCK_ENABLE -p com.bluefletch.ems.emm.launcher
```

## How to Deactivate Device Remote Lock&#x20;

#### On Portal - Device Actions - Remote Lock menu item:

To disable **Device Remote Lock** on the BlueFletch Portal, select **Remote Lock** from the menu item and click the **Unlock Device** button.&#x20;

This notification toast will pop up on the screen:

<figure><img src="/files/Ufthn9uGJq66lbuuYQxm" alt=""><figcaption></figcaption></figure>

#### On Portal - Enterprise Launcher - Notifications:

```json
{
   "notificationId": 6001,
   "notificationAction": "cancel",
   "packageName": "com.bluefletch.ems.emm.launcher",
   "intentAction": "com.bluefletch.ACTION_FORCE_LOCK_DISABLE"
} 
```

#### Using ADB command (update package name as needed):

```json
adb shell am broadcast -a com.bluefletch.ACTION_FORCE_LOCK_DISABLE -p com.bluefletch.ems.emm.launcher
```

## Customizing Lock Screen Display Settings

This configuration allows you to customize the background color, title, and message displayed during lockdown mode.

```json
{
  "forceLock": {
    "backgroundColor": "#FF0000",
    "title": "Title of the dialog",
    "message": "This is what shows up when the device is locked."
  }
}
```

{% hint style="info" %}
App Events are generated for Force Lock and Force Unlock invocations.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/security-and-safety/device-remote-lock.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
