DCL-2010-00-E LOCK keyword invalid for REFERENCED records

You cannot LOCK a record that you REFerence.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Check syntax.