The contextual sections variant of the Notebookbar shows a special section for images. This section contains a Lock button, which is not functional. The button was introduced with options > protect (content, position, size) in mind. Users expect to lock position and size as well as not being able to crop the image or to modify any other property. The lock button has to be implemented as toggle button and the other functions such as Crop should be enabled respectively.
So we need a few UNO commands for locking frame/image/object type objects to work in writer, as well as these same functions also working for shape/textbox type objects everywhere else. .uno:ProtectSize - enables the protect size checkbox in sw object dialog and the protect size checkbox in position & size dialog .uno:ProtectPosition - enables the protect position checkbox in sw object dialog .uno:ProtectPositionAndSize - enables the protect position and size checkboxs in sw object dialog and the protect position checkbox in position & size dialog .uno:ProtectAll - enables the protect position, size, and content checkboxs in sw object dialog