# Creating a Lock

1. Head to the [Lock ](https://app.tokan.exchange/lock)page on the [dApp](https://app.tokan.exchange/swap).
2. Use the Connect Wallet button in the top right to connect your wallet\
   (If you do not have an existing wallet, then refer to this [guide](/getting-started/wallet-setup.md))

<figure><img src="/files/AW4t3nOugsLLpPyNtrmu" alt=""><figcaption></figcaption></figure>

3. Click the "Create Lock" button
4. Enter the amount of TKN you wish to lock and then set the date you wish to lock till, with the maximum lock period being 4 years.

<mark style="color:red;">If it's your first time transacting TKN, your wallet will ask for approval before proceeding.</mark>

5. Click the "Create Lock" button once you wish to proceed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tokan.exchange/getting-started/guides/creating-a-lock.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
