The LP (Lock Program) command prevents DS (Discontinue), QT (Quit), and RESTART (Restart Jobs) commands from terminating the specified processes or programs.
A process is automatically locked if the code file has been marked with the MP + LOCKED form of the MP (Mark Program) command.
Syntax

Explanation
<mix number list> LP
Locks the processes in the specified mix number list and prevents them from being discontinued by a DS (Discontinue), QT (Quit), or RESTART (Restart Jobs) command.
Once a process is locked, any internal offspring initiated by the process is also automatically locked. Internal offspring are processes that result when a parent process initiates an internal procedure with the CALL or PROCESS statement.
The <mix number list> LP command does not affect the object code file of the processes. Other processes created by initiating the same object code file do not receive the effects of this form of the LP command.
<mix number list> LP −
Removes the LP restriction from the processes in the specified mix number list.
Examples
Example 1
4872 LP
4872 PROGRAM LOCKED.
Example 2
3298 LP
3298 NOT LOCKED.