Locking in your profits from time to time is super helpful in managing your margin levels when trading using leverage. It cushions you against liquidation particularly so when market conditions change suddenly.
Remember to lock in your profits as you trade.