Macbook Pro sometimes sleeps by itself after booting!
Sometimes after switching on my Macbook Pro (2019 with touchbar), it switches on normally showing the desktop screen, then it turns black. I give it some seconds then press a key and it comes back on from sleep. Sometimes this doesn't work and I have to close it and reopen, press a key or press siri button, then it comes back up from sleep. Once it did this twice in a row. It is only a year and a half since I purchased it, so it is quite new, and it is updated to Big Sur. What can be the problem?