> For the complete documentation index, see [llms.txt](https://docs.subwallet.app/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.subwallet.app/main/extension-user-guide/account-security/lock-and-unlock-wallet.md).

# Lock & unlock wallet

### **Lock your wallet** <a href="#lock-your-wallet" id="lock-your-wallet"></a>

**Step 1**: Open the SubWallet extension and click on the <img src="/files/Fa0WkuZAMjnP5zVvAdmq" alt="" data-size="line"> icon at the top left corner to get to the Settings section.

<figure><img src="/files/OG4eLqF5i5FjvqIofT87" alt="" width="362"><figcaption></figcaption></figure>

**Step 2**: In the Settings section, scroll down to the end to see the "**Lock**" button and then click it to lock your wallet.

<figure><img src="/files/WQsHA4LeErYvMP2kSn9T" alt="" width="363"><figcaption></figcaption></figure>

### Unlock your wallet <a href="#unlock-your-wallet" id="unlock-your-wallet"></a>

{% hint style="info" %}
If you have previously locked the wallet or been inactive for a while, your wallet will be **locked**.
{% endhint %}

To unlock the wallet, enter your master password and click "**Unlock**".

<figure><img src="/files/BEtzMhO91WOeQCJYCCwe" alt="" width="363"><figcaption></figcaption></figure>

### Change auto-lock time <a href="#change-auto-lock-time" id="change-auto-lock-time"></a>

{% hint style="info" %}
Auto-lock is a security feature that locks your wallet after a period of inactivity.
{% endhint %}

**Step 1**: Open the SubWallet extension and click on the list item at the top left corner to get to the Settings section.

<figure><img src="/files/OG4eLqF5i5FjvqIofT87" alt="" width="362"><figcaption></figcaption></figure>

**Step 2**: In the Settings section, select “**Security settings**”.

<figure><img src="/files/mbxNqNOdfPtLIvPztgoj" alt="" width="362"><figcaption></figcaption></figure>

**Step 3**: Choose "**Extension auto lock**".

<figure><img src="/files/fyL7uaj6OL9DijOfmJNc" alt="" width="362"><figcaption></figcaption></figure>

**Step 4**: Select the lock time you prefer.

<figure><img src="/files/vNlNBch9CtHSAWdVAAdf" alt="" width="363"><figcaption></figcaption></figure>

{% hint style="info" %}
By default, SubWallet locks your wallet after 15 minutes of not being used, but you can adjust the lock time to fit your needs.
{% endhint %}
