CMS-5504 Use shallow locks when locking objects
CMS-5482 Unable to edit a content with a sub-content locked