Way to Prevent Locking when door is open?

Sometime I need the door to remain open for a while (unloading my car after a holiday etc). After a couple of minutes, even when the door is still open (I do have the door sensor in place), the ‘lock door’ mechanism is activated and the latches come out. If I do not notice this before closing the door, the latches will hit the door frame. I those cases of course I cannot close the door before first unlocking the Smartlock. Not unlocking the lock before closing the door might also cause damages to my lock and door frame.
So how can I prevent the lock from locking when the door is still open?