If you wished to lock in that profit, you could do as smallfil posted, and sell-to-exit.
At that point, should the underlying fall, you have 100% of your current profit.
Should the underlying continue to climb, you don't participate.
Put slightly differently, if you owned the 340, you could sell...