could i use a 12v DC adapter and the switch on the outlet to lock/release an electronic strike lock?

could i hook an electronic strike lock to a 12v DC adaptor and just use the power switch on the outlet to lock/release the door?

Re-design7 years ago
Yep.  As long as the strike works on 12 v. dc and the adapter can handle the load.  But remember that if the electricity goes out that door is going to remain locked unless there is a manual release also.
Some fail "open" some fail "closed", some toggle. It depends on the exact design
Indeed. Applications are divided as to which is safest. In the event of a fire, for instance, failing open would be preferable, but in the event of a power outage, failing closed would typically be better.

In any case, they are normally used with ordinary door locks anyway, so you can just fall back on the key if the power goes out. It wouldn't be a bad idea to put your door lock on the business end of a UPS, either. =)
I would say the ideal solution would be to use a strike lock that fails closed with a door lock that can be easily opened from the inside. Any standard door lock with a keyhole on one side and a button or twisty thing (technical term) on the other would work fine. This keeps you from being locked in while also preventing unauthorized access in the event of a power failure.