@mica/sdk (SDK contract v1)
    Preparing search index...

    Function useLockScreen

    • The lock screen's settings, read-only — whether a passcode is set, and the auto-lock policy (MICA-60). Changing either is useLockScreenWrite.

      Returns {
          autoLockPolicy: Writable<AutoLockPolicy>;
          autoLockPolicyChoices: Readable<readonly AutoLockPolicyChoice[]>;
          hasPasscode: Writable<boolean>;
      }

      • autoLockPolicy: Writable<AutoLockPolicy>
      • autoLockPolicyChoices: Readable<readonly AutoLockPolicyChoice[]>

        A readable wrapper, not the bare array — same transport reasoning ringModeChoices documents in systemHardware.ts: nothing needs this before hydration.

      • hasPasscode: Writable<boolean>

        Whether the player has a passcode set at all — Settings' own read, and PhoneFrame's.