Lockitron

Any fix for lock auto-opening instead of auto-closing?

I have my bolt set to auto-lock after 4 min. When I get home and open the door, it starts beeping to lock. Then, as soon as I manually lock it, it opens back up!
Very annoying