If you have a camera with an automatic lens cover, such as the kind found on many Canon digital compact cameras, then getting the lens cover stuck can be distressing. A lens cover can jam or become stuck if fine particles, like sand, find their way into the mechanism. The solution is to clean the mechanism and dislodge the particles.
Blow canned air around the perimeter of the lens to dislodge the particles.
Turn a hair dryer on to its no-heat setting, and direct the air current over the barrel and lens of the camera. If canned air does not work, the stronger current of air from the hair dryer may.
Force a thin strip of paper under the crack between the closed lens sections. Force the lens open using gentle pressure. Work the piece of paper around the edges of the lens for 360 degrees.
Extend the barrel of the lens. Point the lens downward and gently tap the barrel with the eraser of a pencil.
Repeat all steps at least three times. If this does not free the lens, you may have to send it to the manufacturer for repair.