> For the complete documentation index, see [llms.txt](https://docs.stellaswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stellaswap.com/how-to-guides/vestella/lock.md).

# Lock

Here’s a step-by-step guide to create a lock:

### Step 1: Get STELLA

The first step is to ensure that you have STELLA. If you do not, please [swap](https://app.stellaswap.com/exchange/swap) for STELLA to get started.&#x20;

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

Once you have STELLA, you can start locking.

### Step 2: Create Lock

Click on `Create Lock` button to begin creating your lock.

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

You can then select then select the amount of STELLA to lock and the Lock duration. Selecting the maximum lock time of **2Y** will grant you maximum voting power; 1 STELLA : 1veSTELLA.

{% hint style="info" %}

* The more STELLA you lock, the more veSTELLA (Voting Power) you’ll get
* The longer you lock, the more veSTELLA you’ll get
  {% endhint %}

The voting power schedule can be seen [here](https://docs.stellaswap.com/dex-core/vote-escrow-stella-3-3/how-it-works).

<figure><img src="/files/nr0CEPiC12fR7vtK0jZA" alt="" width="375"><figcaption></figcaption></figure>

### Step 3: Approve & Lock

Click on `Approve` and the `Lock` button to create your lock. Once you've confirmed the txn on your wallet, you'll see your NFT:

<figure><img src="/files/6LNeUbj6jUQ2iRQ836OB" alt="" width="375"><figcaption></figcaption></figure>

You can manage your locks in your Lock Dashboard section.<br>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.stellaswap.com/how-to-guides/vestella/lock.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
