The Goblet of Fire is a magical artifact that chooses the participants for the Triwizard Tournament, an extremely dangerous magical competition. It can only be tricked by a participant under 17 years old, or a participant with an altered age, as Harry was.
While he was ultimately forced to compete against his will, he wasn't physically tied up or imprisoned by the Goblet of Fire.