The capital gain lock-in effect and equilibrium returns