Why is my laptop going to sleep when I'm in the middle of using it

Everytime I get on my laptop turns on for like 2 minute and then appears to have fallen asleep but I'm in the middle of using it. I tried to change sleep mode to keeping it on display but that didn't help.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 1
crwdns2934285:0crwdne2934285:0