Set a trap

To prepare a trap to catch an animal or a person who is doing something wrong or illegal.

The conservation officers set a trap to try and catch the bear.