* The police used an undercover officer to entrap the drug dealer. (This sentence uses the word in its most common meaning, to trick someone into committing a crime).
* The narrow alleyway entrapped the sunlight, casting long shadows across the cobblestone path. (This sentence uses "entrap" to mean to confine or hold in place, like a physical trap).
* His own ambition entrapped him, leading him to make decisions he later regretted. (This sentence uses "entrap" figuratively to mean to be caught in a difficult situation or by one's own actions).
Let me know if you'd like more examples!