I was told that I have to constantly sell my stock then reinvest it to "lock in" profits. Is this true?

I resurrected it and so I shall kill it.