• Otter@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    8 months ago

    You could try one of those automation apps. I remember seeing some triggers for entering and leaving a location, and the advanced ones should be able to use wifi connections/disconnections

    Whether it can change security settings though I’m not as sure about.

    • jarfil@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      8 months ago

      They can… or could, on rooted phones. Apps like Tasker have a root mode module that can do pretty much anything. Haven’t used it for a while, though.

      • tuhriel@discuss.tchncs.de
        link
        fedilink
        arrow-up
        5
        ·
        8 months ago

        Running tasker on a unrooted Fairphone 5 There is a function “System Lock” which locks the phone so you have to enter the PIN. I created a task and a widget on the home screen that triggers the task

        I did give tasker some extra rights via adb, which is a quite straight forward process. I think the dev even has a guide for it…