I believe it depends. Free speech is not without limits. I think there's still a lot of discussion in the biomed community about the legality/ethics of releasing methods that can be used by bad actors to generate potentially harmful results.
I think the distinction is when a threat is “imminent”. To the point of this thread, I don’t think the dialogue has progressed enough to form a consensus on where that “imminent threshold” lies.
Teaching someone about DNA doesn’t constitute an imminent threat. But the equivalent of teaching the recipe for a biological weapon may be considered enough of an imminent risk to warrant regulation.