Answer:
Law will control criminal behaviour to a certain extent by which the consequences has a fearful affect to some people. "If I did this and got caught...this could happen to me...should I take the chance?" Is what a criminal could be thinking before he/she commits an offence. However there could be a motivation behind it, such as a severe drug addiction which would hinder that fear of the consequences due to the addiction.
-----------
The first answer tells part of the extent that the law controls behavior. It also controls by incarcerating the convicted and preventing them from victimizing the public, at least for a time. Unfortunately, criminal law is very limited in its effect on criminal behavior. So many people with criminal intentions are either desperate and think that it's a chance worth taking; others believe that they're smarter than the law. The last group are the easiest to catch.