Does the PC turns on and boots normally until it shuts down? Do you see the typical loading screens and can you hear the usual noises coming from the PC?
In general, it is possible that the cooling fan has been contaminated. If your PC is under warranty, please contact the seller. If warranty has expired, open the PC and try to clean the fan. Try to boot again. If the same thing happens, remove power cable and battery and hold the power button for 20 seconds. Reconnect power cable and try to boot again. Check with another power cable too.