What you lock is the LP token you received after adding liquidity, not a switch on the DEX. Whoever holds the LP can pull the pool at any time. Locking that LP in a contract is a public commitment: until the unlock time, that liquidity cannot be pulled.
You need LP before you can lock it
If there is no pool yet, add liquidity on Add / remove liquidity first, then lock the LP you receive. The amount is a number of LP tokens, and the unlock time has to be in the future. After the transaction lands, the LP stays in the lock contract and cannot be taken back before it expires. The steps are in LP lock.
What you cannot change once it is locked
A confirmed lock cannot be shortened, and the locked amount cannot be reduced. On My locks you can push the unlock time later, or raise the locked amount to a larger total.
If you add more liquidity later, you receive new LP. That new portion is not covered by the earlier lock. To have the new portion show up as locked, lock it again.
Expiry does not return the LP to your wallet by itself. Open My locks, find the entry and click Unlock. Only after the LP is back in the wallet can you remove liquidity. Anyone else can look up lock records on the same page with the token or LP address.
Locking itself charges no service fee, only gas. Looking up a lock is free.
