what laws are you referring to?
these people that went to jail for praying in front of abortion clinics, did they in any way block entrance to the clinics? Were they praying while standing on property belonging to the clinics and did they refuse a lawful ordering telling them to vacate said property.
You have the right to pray, but not to block entrance to some else's property. You have the right to pray, but if you are standing on someone else's property the owners have a right to tell you to get off their property.