Skip to content

How Remote Locking Works in Lock My Devices

From the moment you press “lock” to the moment the screen goes dark — here is exactly what happens.

  1. You
  2. App or website
  3. Lock server
  4. Firebase
  5. Your devices
  1. Step 1

    You choose a user code

    On the setup screen you type a code of your choice in User Code and give the device a name. Use the same code on every device you want to control together. The code is the only key, so make it long and unique.

  2. Step 2

    Each device registers

    When you tap Continue, the app sends the code, the device name and a Firebase push token to the Lock My Devices server. The token is the address that lets the server reach that device.

  3. Step 3

    You send a command

    From the app (Lock All Devices, Lock Selected or Ring Selected) or from the website lock page, a request with your code, the chosen devices and an optional message goes to the server over HTTPS.

  4. Step 4

    Firebase delivers it

    The server finds the chosen devices registered with that code and sends each one a data message through Firebase Cloud Messaging.

  5. Step 5

    Android locks — and reports back

    The app calls Android’s device-admin “lock now” function and shows a notification saying where the lock came from, with your message. Then it reports its status — Locked, or why not. A ring command plays a loud alarm instead.

Scheduled locks work offline

A scheduled lock — once or repeating — is stored on the device itself with an exact alarm. It needs no internet when it fires, applies only to that device, and the app re-creates it after the device restarts.

What Lock My Devices does not do

  • It does not unlock devices remotely — you unlock them with their own PIN, pattern or biometrics.
  • It does not track location, erase data or take photos. It can ring a device that’s nearby; to see where it is or erase it, use Google Find Hub together with it.
  • It does not block apps, filter content or set screen-time limits — it locks the screen.
  • It is available for Android only (Android 7.0 and later).

Protect your devices before you need to

Install Lock My Devices on every phone and tablet today — setup takes just two minutes.