DOCS-2868 add 'deprecated' flag to lockType

Ready for merge.