# 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: 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.stellaswap.com/how-to-guides/vestella/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.
