I've got exactly the same problem, going ape!
I've got all the codes and unlocked everything.
All systems have been transfered to secondary power system.
Secondary power system has been turned off.
Yet the doors are locked!!!
I can't turn off primary power, I get "failure, safety protocol blah blah"
=)"#