That sounds like overheating to me. To protect the hardware from getting too hot and becoming damaged, computers will automatically shut down. Have you ever cleaned out the dust? If it's two years old, it definitely needs it.
Try purchasing a can of compressed air (sometimes called "dust remover" or something similar). Follow the directions on the can and hold it upright while blowing out the fans and vents of the laptop.
- Peter