I have a similar problem...cover needs to be kept closed with a rubber band. The lens seems to work OK.
Would it be worth having it repaired?
The camera was my father's. I've never used a digital camera before.