Since a few months now, the door state is exposed via Matter:
The current SmartThings Matter Lock driver doesn’t support this feature. Therefore, I developed a Matter door lock driver that supports door status. It appears as a standard door contact sensor and therefore currently only supports open and closed. Everything else thanclosed (ajar, jammed, …) is considered as open.
You can install the driver from the link in the following post:
As soon as we have a so-called production capability (an internal representation) for the door state, this feature will be added to the stock driver that is pre-installed on the SmartThings hub.