Api - lock paragraph

Hi, is there possibility to lock components in written documents with api? For example lock paragraph, so user can’t change it. I found Protectable Interface, which is usable only for calc documents.

You can put it in a section with write protect on.