Depends on country. I grew up in socialist Czechoslovakia and private businesses were almost unheard of (there were about several hundreds of small private businesses in country of 15M people). Most private tradesmen offered they services unofficially/illegally (in addition to their regular daily job).
From what i heard, regimes in Poland and Hungary were more lenient in this regard.
> But, being killed for not working? Never.
Killed in work camps? At most in 1950s. But regular prison sentences for not having a work still happened in 1970s and 1980s.