mine did this for the longest time, i had to hot wire the lock to get in, the plug that goes from the chassis to the door was unplugged, so the lock would default lock.
so if yours is anything like mine, then there is a disconnection somewhere.
if you can get the door open, take off the door...