# 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="https://2668992322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTAZjFIU5DYOvjU2wQl%2Fuploads%2FriUGdzvMHUDCZhUXsdw4%2Fimage.png?alt=media&#x26;token=2e6b85e1-fc13-469a-93cd-5d66ba00ded8" 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="https://2668992322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTAZjFIU5DYOvjU2wQl%2Fuploads%2FY4O0kLfG9ztMVeR7fcc1%2Fimage.png?alt=media&#x26;token=b08c1f46-9451-430f-bee9-bc0a52b68d8e" 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="https://2668992322-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MTAZjFIU5DYOvjU2wQl%2Fuploads%2FHgFUquEgBX7YUehAh8aG%2Fimage.png?alt=media&#x26;token=f02f880e-d968-4298-bcd4-1211ca4b1194" 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>
