Add possibility to lock fields for an itemtype. closes #1184