Download Image forming apparatus and image reading apparatus with locking