I highly recommend the film "Trumbo", about the Oscar-winning screenwriter Dalton Trumbo, who was blacklisted for refusing to say whether or not he was, or ever had been, a member of the communist party.
It is extremely relevant to all of this discussion, including the question of whether one should sacrifice the wellbeing and safety of one's family in order to promote a cause that's somewhat secondary to them.
Lots of people lied under oath, or turned other people in in order to protect their families, because they didn't want to "risk it". But Trumbo and several others stood up for their right to free speech and paid dearly for it.