Disclosed is an oral dosage form comprising an opioid agonist in releasable form and a sequestered opioid antagonist which is substantially not released when the dosage form is administered intact. In its second pass, capsule moves through the gastrointestinal tract, and is controlled to perform a job at the identified location. The locking element has an engagement structure which contacts the surface of the connection element in such a way that a form-fit connection is provided.