TRUNK-4030: locking mechanism for forms