Hey, it's one of the reasons why we integrate the lock with all smarthome systems. You can build the scenes using other devices that work in the same environment. There are many door contacts available and they can work in line with the logic you described.
i agree. this would be a great feature.