I've got a electronic door lock which is powered from a 12VAC transformer. I would like to use a 12VDC backup battery to open the door in case of a power failure. What would be the best way to do this - do I need a 12VDC to 12VAC inverter, or is there an easier way to power the door lock off the battery?