DOCS-2868 add 'deprecated' flag to lockType