It's only entrapment if a normal person would do the same thing under the same circumstances.
For example, leaving a laptop in an unlocked car and waiting for someone to steal it is not entrapment. Most people just walk by. Most people understand that you don't go into other people's cars and take their stuff just because you can. Criminals try to see of the car is unlocked and then take the laptop.
Leaving a laptop in it's case on a park bench and arresting someone for picking it up is entrapment. There are multiple motives possible for grabbing the laptop. Maybe they wanted to see if they could return it. Maybe they planned on taking it to the police. No one knows.
Making jacking off motions at someone does not typically really in that person offering to be paid for sex. Most people aren't going to see that and say to themselves "hey, I can make 100 bucks here by giving this guy a hand job!" Prostitutes respond that way. Therefore, there's a very low likelihood of that being classified as entrapment.
This from the department of Justice
https://www.justice.gov/jm/criminal-resource-manual-645-entrapment-elements
Entrapment is a complete defense to a criminal charge, on the theory that "Government agents may not originate a criminal design, implant in an innocent person's mind the disposition to commit a criminal act, and then induce commission of the crime so that the Government may prosecute."
Jacobson v. United States, 503 U.S. 540, 548 (1992). A valid entrapment defense has two related elements: (1) government inducement of the crime, and (2) the defendant's lack of predisposition to engage in the criminal conduct.
Mathews v. United States, 485 U.S. 58, 63 (1988). Of the two elements, predisposition is by far the more important.
Inducement is the threshold issue in the entrapment defense. Mere solicitation to commit a crime is not inducement.
Sorrells v. United States, 287 U.S. 435, 451 (1932). Nor does the government's use of artifice, stratagem, pretense, or deceit establish inducement.
Id. at 441. Rather, inducement requires a showing of at least persuasion or mild coercion,
United States v. Nations, 764 F.2d 1073, 1080 (5th Cir. 1985); pleas based on need, sympathy, or friendship,
ibid.; or extraordinary promises of the sort "that would blind the ordinary person to his legal duties,"
United States v. Evans, 924 F.2d 714, 717 (7th Cir. 1991).