We have set up workflow in Sitecore 9.3 version. After hitting Lock and Edit link on one data source item, new version will be created. This new version will have current date set to Created/Updated fields and this new version is in Draft state which is as expected. There is no change in old version which is in Approved state and all fields are non-editable.
This new data source item is being referenced on a page in one rendering component. In experience editor, we made content update in component and hit the save button. As a result new version of this data source item is created with current date set to Created/Updated fields but in old version current date is also set to Updated field and old version is in Approved state but all fields are editable. There shouldn't be any change in old version. Now new version is in Draft state but all fields are non-editable.
Is this a kind of bug in this Sitecore version OR we need to write some custom code to handle this behavior. If we directly edit item, versioning working properly. This behavior is happening only while editing that item via experience editor.