It is establishing a law or rule that will allow prosecution of a person who is caught violating it. Obviously laws do not prevent all crime. It is intended to lessen crime and increase protection of others.