After you used a trapping move(Fire Spin, Mean Look, etc.), if you baton pass to another pokemon, your opponent can switch their pokemon out (that means they are not trapped anymore after you BP to another Pokemon).
I've tested this in game battling with one of the elite four:
Turn #1:
I sent...