by Cauliflower Carrot
This automation thread automatically locks the device when you put your phone in pocket or when you keep it on desk upside down. (When the proximity sensor detects no gap in front of display side of the device)
This flow can also dim the screen when you take your device in your hand.
Please give feedback and comments for further development and betterment of the flow.
USE AT YOUR OWN RISK
Ver.2(2020Aug11) : shortened delay before lock
Ver.3(2020Aug11) : Resolved a minor bug
Ver.4(Coming soon) : Bug fix
Reviews and ratings can be submitted in the app.