You attempt to unlock a door, chest, set of manacles, or a similar object that you touch, using magic instead of thieves’ tools. Make an ability check using your spellcasting ability modifier. The DC is the same as for an ability check that would use thieves’ tools. If you succeed, the target is unlocked.
Upcasting. You gain a +2 bonus to the ability check for each spell level above 2nd.