Everyone is lying to you about locking/hedging. Have you ever been taught hedging by a broker/sales/IB?
It is certain that you will be directed to do locking/hedging when your buy/sell position is floating negative. Instead of closing the position, a bad broker directs you to lock in the floating negative under the pretext of "to avoid a margin call (liquidation)" which is truly unreasonable. They are just happy with the commission they earn from each of your transactions; when your account is margin called, they will only ask you to deposit, deposit, and deposit. How wicked they are.
Here I provide an explanation of proper Hedging. I do hedging for positive positions, my concerns arise when the price has touched the resistance point and there is a potential reversal/correction that could erode your profit, that is where Hedging works.
When you have a large floating profit position, there is nothing wrong with hedging at reversal points; this can save you if there is a significant correction.
Picture:
$BTC Long
$BTC Short for short-term hedging