With the key in the run position, you cannot place the processor in program mode via software. With the key in the rem (remote) position you can change the status of the processor to run or program mode via software. Also if the key is in the program position, you cannot place the processor in run mode via software.
The 5/01 and 5/02 do not have a key switch, so are always in remote mode.