Technological unemployment can appear only in capitalist system. In the variant of socialism with planned economy it is impossible in principle!
In a capitalist system, you can be laid off. In a collectivist system, where the collective is everything and the individual is nothing, redundant individuals are disposed of.
So in a sense, you are right: In socialism, there will be no technological unemployment.