The apparatus as claimed in claim 5, wherein a state of the image forming apparatus in which the locking unit is to be released is a state in which power to the image forming apparatus is turned on or a state in which operating units in the image forming body are ready to start operating.