The LOCKS command specifies the region into which GT.M maps locks on resource names not starting with a caret symbol (^). GDE maps locks on resource names, starting with a caret symbol (^), to the database region mapped for the global variable name matching the resource name.
The format of the LOCKS command is:
LOC[KS] -R[EGION]=region-name
The LOCKS -REGION= qualifier allows specification of a region for local locks. By default, GDE maps local locks to the default region DEFAULT.
Example:
GDE> lock -region=main
This command maps all locks on resource names that don't start with the caret symbol, "^" to the region main.