Why is my laptop troubleshooting every time I open it?

my laptop suddenly shut down and when i tried to open it , it went to the bios mode. it happened multiple times and when it opened , nor did the touch mouse pad work , neither the keyboard , and it suddenly went to bios mode again. now what do i do to fix it?

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

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2947414:01crwdne2947414:0:

Your laptop may be over heating. When in the BIOS what temperature is given? Have you run the diagnostics from the UEFI/BIOS ?

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0