To stop a PSB being scheduled, use the /LOCK command with the PROGRAM keyword. To stop access to a database, use the /LOCK command with the DATABASE keyword. To negate or reset the effects of previous /LOCK commands, use the /UNLOCK command with the DATABASE and PROGRAM keywords.