Not true. Freedom of speech in the US prevents the US government for levying consequences against you for what you said. This is not the case in North Koreas
Instead, democratic governments (especially violence-shy Western ones) use the Official Secrets Act [or local equivalent] to prevent the people that are privy to information the governments do care about from ever talking about it.