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

# How to Lock?

## Video Guide&#x20;

{% embed url="<https://www.youtube.com/watch?v=BJFTuk1rA7A>" %}

## Step by Step Guide&#x20;

1. Visit <https://gov.dfx.finance/lock>

<figure><img src="/files/h4JcPlLAzSSGxbag0N16" alt=""><figcaption><p>Example of DFX locker page</p></figcaption></figure>

2\. Connect your wallet by either using MetaMask, WalletConnect, Gnosis Safe or Coinbase Wallet.

**`Note:`** The Coinbase Wallet option is only accessible via mobile device.

<figure><img src="/files/LU583rAOd9PjrPAb0DwT" alt=""><figcaption><p>Example of connecting wallet on desktop</p></figcaption></figure>

Once your wallet is connected, you will then be able to fully interact with the DFX locker for approving and locking.\
\
`Note:` You can interact with the DFX locker without your wallet being connected but you cant perform any on-chain actions without connecting.

3\. Enter the amount of DFX you would like to lock and select the duration of the lock.&#x20;

<div align="center"><figure><img src="/files/1m4Ys8hysfLmU5ddxUjL" alt=""><figcaption><p>Example using 5 DFX with a 4 year lock.</p></figcaption></figure></div>

4\. Once you have chosen the amount of DFX you would like to lock and the duration of lock time, you will then be able to preform the two transactions.

* One transaction for approving the DFX to be locked.
* Second transaction for actually locking the DFX.

&#x20;          🎉`Congratulations, you have successfully locked your DFX for veDFX!`🎉

`Note:` If you would like to learn more about locking scale, please check out the lock details link right here - <https://docs.dfx.finance/products/vedfx/lock-details#formula>
