> For the complete documentation index, see [llms.txt](https://docs.fwallet.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fwallet.net/app-fruits-wallet/account/set-security/auto-lock.md).

# Auto-Lock

* In this function, users can choose the time to use the passcode to lock the application when not using the application.
* Condition: passcode is enabled.
* To access the function, please follow the steps below.

**Step 1**

* On the Security screen, tap on "Auto-Lock" --> Display a popup with a list of auto-lock options for a period of time, including:

  * Immediate: auto-lock right away.
  * If away for 5 minutes: auto-lock after you leave the app for 5 minutes.
  * If away for 1 hour: auto-lock after you leave the app for 1 hour.
  * If away for 5 hours: auto-lock after you leave the app for 5 hours.                                                               ![](/files/8GrahDpPMs208vq3EKAz)

  &#x20;

**Step 2**

* Tap the option the user wants.
