Energon chains

If a Transformer needs to restrain another one and more sophisticated means aren't available, they can always fall back on simply tying their enemy/opponent/victim up with energon chains. Energon chains are applied with the aid of a gun which doubles as the chains' generator. If the gun is destroyed, so are the chains.

The Transformers cartoon
After defeating them in battle at the Great Falls Megatron had a group of Autobots collected, wrapped up in energon chains and lined up for their executions. Before the Decepticons could fire at their helpless foes, backup arrived in the form of the Dinobots. With the Decepticons busy, Wheeljack made his way to his comrades. He used Sideswipe's flare gun to dry them off and Bluestreak's gun to re-energize them and this made the chains disappear... somehow. Don't ask.