Socialism is about social not state ownership of the means of production. This does not prevent the state being involved either, and even then they can be a joint-stock corporation's.
As I said, "social" ownership of the means of production can occur in a capitalist country with free markets.
A socialist regime, like the USSR, North Korea, or Mao's China would have state ownership. The founding fathers of modern socialist thought (e.g. Marx) would define socialism in terms of state ownership of the means of production.
But feel free to muddy the waters if you prefer to avoid concrete definitions.
"Community, Cooperative, Employee owned" are all concepts that can (and do) exist under a capitalist regime.
Socialism is very different, and it does prevent free markets.