Note that in order to use entrapment as a defense, your lawyer has to show that the police engaged in this behavior. Lawyers can gather proof, take depositions, and work with witnesses to gather evidence that entrapment occurred.