Locked pages are automatically unlocked and deleted at image exit.
The inadr argument is the address of a 2-longword array containing, in order, the starting and ending process virtual addresses. If the starting and ending virtual addresses are the same, a single page is unlocked. The retadr argument is the address of a 2-longword array containing, in order, the starting and ending process virtual addresses. The acmode argument is a longword containing the access mode.