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

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.DatabaseCommands.SetTransformerLock("Orders/Company", TransformerLockMode.LockedIgnore);