R2-D2 employs an arc welder
Arc welders, which contained a small blowtorch, were implements utilized for both repairing objects and cutting through them. Certain astromech droid models came equipped with these arc welders, notably the R2-series, the BB-series, and C1-series astromech droids. However, droids such as toy droids also had them.
During a pirate raid, captain Silvo, a pirate, gave the order to his crew to make use of a massive arc welder in order to get past the magnetically sealed vault.