Door locks, power programmable with lockout protection