It does protect you from the government asking you not to engage in speech. The fact that no legal action was taken is what makes this behavior blatantly unconstitutional. If it was against the law, DHS would have arrested her- instead they made vague threats about charging her under a law dealing with conspiring to murder federal law enforcement. Any government policy that creates a chilling effect on a protected right is unconstitutional, regardless of any charge or court case.