see on GitHub

Commands: Transformers: How to change transformer lock mode?

SetTransformerLock method allows you to change transformer lock mode for a given transformer.

Syntax

public void setTransformerLock(String name, TransformerLockMode lockMode);

Parameters
name String name of a transformer to change lock mode for
lockMode TransformerLockMode new transformer lock mode

Example

store.getDatabaseCommands().setTransformerLock("Orders/Company", TransformerLockMode.LOCKED_IGNORE);