I have an iPhone 4s and the screen goes black when I cover the camera?

I have an iPhone 4s and have noticed when I'm in txt mode the screen goes black when I cover the camera. Any ideas on how to stop this?

Don't cover the camera.

Go into your settings and there will be something either under the Camera icon or messages. Open them up and start playing around with it until you become familiar with how it works. There's a energy saving mode the phone will fade out to save energy or you can lock your screen by hitting the rectangulaer key on top right of phone. Pshimg that willhave the same effect good luck