A protection-cover opening/closing mechanism for a digital still camera includes
an electromagnet having stator around which an electromagnetic coil is formed and
a movable member, a first lever to which the movable member is pivotally attached
at a first end portion and which receives a rotational force, a second lever which
is able to reciprocate on a stationary member, which is engageable with a second
end portion of the first lever, and which is pressed toward an initial position
thereof. While a CD-R is being operated, current is applied to the electromagnetic
coil to restrain the movable member on the stator and thereby prevent the first
lever from rotating, and the movement of the second lever in the direction away
from the initial position is limited due to the engagement between the first lever
and the second lever, thereby locking a protection cover at a closed position.