Lock the screen in your pocket

Use the proximity sensor to lock the device when it goes into a pocket or a bag, so nothing gets pressed. In Flowroid this is one flow: Proximity Sensor starts it, then Control Screen State. It ships as a ready-made template, so you install it and adjust it rather than build it. No root, no accessibility service, no account.

Runs
By itself
Steps
2
Template
Ready-made

How it is built

  1. Starts on

    Proximity Sensor

    Something approaches or leaves the proximity sensor.

  2. Then

    Control Screen State

    Screen on / off, or lock the device.

Three ways to get it

  • From TemplatesInstall the ready-made template, then set the times, places, apps or thresholds that are yours.
  • On the canvasFlows → + → Blank canvas. Drop the trigger, then the actions in the order above, and wire them together. Saved switched on. It runs the next time its trigger fires.
  • From a sentenceFlows → + → Create with AI, and describe it: “Use the proximity sensor to lock the device when it goes into a pocket or a bag, so nothing gets pressed.” The draft opens on the same canvas as an ordinary flow, and running it never depends on AI.

Set it up once, then forget it

This flow runs by itself from the day you save it — on your phone, with nothing to remember.

Get on Google Play
Scan to installPoint your phone’s camera here to open the Play listing.

14 days free, everything included. Then $4.99 once.

More recipes