Sharia has prescribed immediate worldly penalties, the case which is seen as incompatible with the human freedom regarding human actions.
Such penalties are not executed if the perpetrator is not addressed by Islamic Sharia (being non-Muslim) in the first place, like the relationship between any country and its citizens who shall abide by its laws and regulations. As for those who are not addressed by provisions of Islam - such as Jews, Christians, and other non-Muslims - they are not prosecuted for violating the detailed rulings. They are not obliged with the same laws, unless their actions result in the loss of the others' rights, or societal corruption. Allah does not prescribe any worldly penalty for one who violates any provisions that relate to Allah's rights only. Accordingly, there is no constraint for a person to exercise his freedom the way he wants, as long as this does not entail corruption in society or harm and injustice to others.