# Unlock locked routes with a passkey

Owners and admins open the routes the route lock keeps locked, in their own browser for an hour, with a passkey and the AgentProof Unlock extension.

The [route lock](/docs/route-lock/) answers locked routes, such as your admin pages, with a 404 for everyone. Owners and admins can open them in their own browser for an hour: they sign in with a passkey on AgentProof, and the AgentProof Unlock extension for Chrome sends the unlock to that one website. The live Defense Agent checks it in your container, without calling AgentProof.

An unlock opens locked routes only. Routes that are not on the map stay closed, and the agent's other checks still apply.

## Add a passkey

A passkey is a sign-in that lives on your device (Touch ID, Windows Hello, your phone or a security key). You use it here for unlocking only: you still sign in to AgentProof with your email link or GitHub.

### Open Security
Go to **Settings > Security** and find **Passkeys**. Only owners and admins see it.

### Name it and add it
Type a **Passkey name**, such as the device's name, and press **Add passkey**. Your browser asks you to confirm with your fingerprint, face or device PIN.

Adding a passkey needs a sign-in within the last 10 minutes. If yours is older, AgentProof emails you a sign-in link and shows "Check your email for a sign-in link, then add the passkey." You can add up to 10 passkeys, and **Remove** one at any time.

## Install the AgentProof Unlock extension

The extension comes with `@isagentproof/live`. Copy it into a folder and load it in Chrome:

### Copy the extension
```bash
npx @isagentproof/live copy extension ./agentproof-unlock
```

### Load it in Chrome
Open `chrome://extensions`, turn on **Developer mode**, press **Load unpacked** and choose the `agentproof-unlock` folder.

The extension needs Chrome 120 or later. It talks only to pages on `https://isagentproof.com/`.

## Unlock a website

### Open your website
Go to the website in Chrome, on any page.

### Press Unlock this site
Open the AgentProof Unlock extension and press **Unlock this site**. The first time, Chrome asks to let the extension change requests to this website: allow it.

### Sign in with your passkey
An AgentProof page opens: **Unlock** and the website's name. Press **Unlock with passkey** and confirm on your device.

When it works, the page says the website is unlocked in this browser until a time one hour later. Your website's locked routes now open in this browser.

The website must be a verified website project of your workspace, with its domain verified and confirmed (see [Website and domain](/docs/website-and-domain/)).

## What an unlock does

- It lasts one hour, then the extension removes it. Closing Chrome ends it too.
- It works for that exact website name. Other websites, and other names under the same domain, are not unlocked.
- The extension sends the unlock with every page you open on the website. Requests made by the website's own pages carry it too; requests other websites make to it do not.
- The live Defense Agent checks the unlock in your container and removes it before your app sees the request.
- Each unlock shows on the **Unlocks** card of the **Live** page: who unlocked which website, and until when.

## Lock again

- **Lock again** in the extension's popup ends the unlock in your browser now. While a website is unlocked, the popup shows how many minutes are left.
- **Lock everything again** on the **Route lock** card of the **Live** page ends every unlock of the website project, in every browser, right away. Owners and admins can press it.

## Messages you may see

| Message | What to do |
|---|---|
| **Only owners and admins can unlock routes.** | Ask an owner or admin. |
| **This website is not a verified website project of your workspace.** | Unlock the website your project tests, at the same name, after its domain is verified. |
| **Add a passkey in Settings > Security first.** | Add a passkey, then press **Unlock this site** again. |
| **Open this page from the AgentProof Unlock extension.** | Start from the extension's **Unlock this site**, in Chrome. |
| **The passkey was not used.** | You closed or refused your device's prompt. Try again. |
| **The extension did not take the unlock. Reload it and try again.** | Reload the extension in `chrome://extensions`, then unlock again. |
| **This browser cannot use passkeys here. Use a current Chrome, Edge, Safari or Firefox.** | Update your browser. |
| **Remove a passkey before adding another.** | You have 10 passkeys. Remove one. |

- [Route lock](/docs/route-lock/) What gets locked.
- [Sign-in and security](/docs/sign-in-and-security/) Sign-ins, tokens and passkeys.
