Gaol Net

Weapon (net), rare (requires attunement)

When a Large or smaller creature is restrained with this magical net, you can use your bonus action to speak its command word, causing the net to transform into a Large iron cage that encloses the target. The enclosed creature is no longer restrained. The cage weighs 500 pounds and is fitted with a locked door (DC 15 to pick the lock). A creature, including the one enclosed in the cage, can use an action to make a DC 25 Strength check to bend the bars enough to let a creature out. If the cage is empty, you can use an action to speak a command word, causing it to transform back into a net. Once the net transforms into a cage, it can't do so again until the next dawn.

Source: Valda's Spire of Secrets