I think that's more a function of
an authoritarian regime than socialist economic policy.
EDIT: Essentially "socialism" is an economic status, while Authoritarianism deals with social freedoms.
Historically most "communist" societies are also Authoritarian, but that's not always the case.