I assume you've already checked the Screen Timeout or Sleep setting in Settings>Display, right?
Do you have a case with a flipcover? If so, does this only happen when the cover is folded back behind the phone?
Settings => Display => Sleep
Are there any power-saving modes turned on?