locked in

A situation in which an investor is reluctant to sell a particularly profitable investment due to the tax consequences.