The Mormon church is built upon a set of beliefs. One of those beliefs is that everybody has Free Agency.
Question: "What is Free Agency?"
Answer: Free Agency, is the ability to choose whatever you want to do. This applies to Religious Freedom, because you have the ability, and right, to choose whichever religion you'd like to be in. You can use your free agency to choose to be a good person, and live a happy life. You can also use your free agency to choose to be a bad person, and live a miserable life. You can choose your actions, but you can't choose the consequences. Consequences are the effects of a person's actions.
Religious Freedom, as I mentioned earlier, is the freedom to worship God in any way you like.