In a camera which obtains a still image and/or a moving image, at least a
part of functions of the camera are previously restricted. To lift the
restrictions, an operation restriction code (key data) is used. An
externally inputted code and the operation restriction code are compared
with each other, and if the input data and the operation restriction code
correspond with each other, the restrictions of the functions are lifted.