> For the complete documentation index, see [llms.txt](https://docs.trust-ai.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trust-ai.io/trust-lock/create-a-lock.md).

# Create a Lock

**Lock Without Vesting: TRUST AI LOCK**

1. **Connect Your Wallet**\
   Open your preferred wallet (e.g., MetaMask, Trust Wallet) and connect it to the platform.
2. **Access the Lock Creation Page**\
   Go to the TRUST AI LOCK page: <https://www.trtlaunch.io/lock/create>.
3. **Input Token Address**\
   Enter the token or LP token address you want to lock.
4. **Input Lock Title**\
   For example, set the title as **"TRUST AI LOCK"**. This helps label your lock for easy identification.
5. **Choose Lock Type: Normal Option**\
   Select the **Normal Option** for locking tokens without vesting.
6. **Set the Lock Amount**\
   Input the number of tokens to lock (only numerical values, no percentages). Ensure you enter the exact amount.
7. **Set Lock Duration (UTC Time)**\
   Choose the date and time when the tokens will be unlocked. Input the lock period carefully, as tokens will remain locked until this precise moment in UTC.
8. **Approve and Confirm Lock Transactions**\
   After clicking **Add Lock**, two transactions will be triggered:
   * **Approve Transaction**: MetaMask (or your connected wallet) will ask you to approve the contract to use your tokens. Review the details and click **Approve**.
   * **Lock Confirmation Transaction**: Once the approval is completed, a second transaction will pop up to confirm the lock itself. Confirm the transaction in your wallet to finish locking the tokens.

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

#### Lock Using Vesting: TRUST AI LOCK

1. **Connect Your Wallet**\
   Open your preferred wallet (e.g., MetaMask, Trust Wallet) and connect it to the platform.
2. **Access the Lock Creation Page**\
   Go to the TRUST AI LOCK page: <https://www.trtlaunch.io/lock/create>.
3. **Input Token Address**\
   Enter the token or LP token address you want to lock.
4. **Input Lock Title**\
   For example, set the title as **"VESTING TRUST AI LOCK"**. This helps label your lock with vesting features.
5. **Choose Lock Type: Vesting Option**\
   Select the **Normal Option** and proceed to enable vesting settings.
6. **Set the Lock Amount**\
   Input the number of tokens you want to lock (only numerical values, no percentages). Ensure you enter the exact amount.
7. **Enable Vesting**\
   Place a check in the checkbox for **"Use Vesting"** to enable the vesting option.
8. **Input Vesting Parameters**
   * **TGE Date**: Set the Token Generation Event (TGE) date, which should correspond to your listing time.
   * **TGE Percent**: Specify the percentage of tokens to be released at the first distribution batch (e.g., 10%). Note that this is a percentage, not the number of tokens.
   * **Cycle (Days)**: Input the number of days between each release cycle (e.g., 30 days).
   * **Cycle Release Percent**: Specify how much of the remaining tokens will be released in each cycle (e.g., 20%). The final cycle will release any remaining tokens.
9. **Add Lock**\
   After entering all the vesting details, click the **"Add Lock"** button.
10. **Approve and Confirm Lock Transactions**\
    After clicking **Add Lock**, two transactions will be triggered:
    * **Approve Transaction**: MetaMask (or your connected wallet) will ask you to approve the contract to access your tokens. Review the details and click **Approve**.
    * **Lock Confirmation Transaction**: Once the approval is completed, a second transaction will pop up to confirm the vesting lock. Confirm the transaction in your wallet to finish locking the tokens with the vesting schedule.

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

###

####


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.trust-ai.io/trust-lock/create-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.
