Check in your settings to see what under your wallpaper if you have auto on and where the slider is and also under General for auto lock and see how long you have it set for. This is where you mainly want to look it and also try a reboot if this setting is ok.