Have you checked to see if you have the setting for how quickly the system
enters sleep mode set to a very low number? If so either enter a higher
number of minutes or disable. From Safe Mode right click the Desktop and
select Properties->Screen Saver Tab->Power button.
Or do a thorough virus scan as some virus can cause this type of behaviour.