You can use the LOCKED attribute to control a task from its parent job, perhaps by causing it to wait while the job performs some action. If you set the LOCKED attribute to TRUE, it acts as an interlock, which blocks any subsequent attempt to set the attribute to TRUE until the attribute has been set to FALSE.
The following code excerpts show a possible use:
JOB BEGIN JOB J; TASK T; T (LOCKED=TRUE); PROCESS RUN program[T]; . . . T (LOCKED=FALSE); END JOB
TASK BEGIN; % Perform initialization before synchronizing with JOB . . . T (LOCKED=TRUE); % Wait until job is ready . . . END

