This has also been happening to me for the past week. My computer goes to sleep at night and in the morning I find that it restarted and I have to open all my applications.
I tried reinstalling the most recent version of MacOS last night but my computer still restarted afterwards.
This is part of my error log from this morning:
panic(cpu 2 caller 0xffffff800f016487): "AppleIntelFramebuffer::setPowerState(0xffffff81be07d000 : 0xffffff7f925c0d88, 1 -> 0) timed out after 46006 ms"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.101.6/iokit/Kernel/IOServicePM.cpp:5296
Backtrace (CPU 2), Frame : Return Address
0xffffff82001f3b40 : 0xffffff800e9215cd
0xffffff82001f3b90 : 0xffffff800ea5a3c5
0xffffff82001f3bd0 : 0xffffff800ea4bf7e
0xffffff82001f3c20 : 0xffffff800e8c7a40
0xffffff82001f3c40 : 0xffffff800e920c97
0xffffff82001f3d40 : 0xffffff800e921087
0xffffff82001f3d90 : 0xffffff800f0c2c7c
0xffffff82001f3e00 : 0xffffff800f016487
0xffffff82001f3e50 : 0xffffff800f015d69
0xffffff82001f3e60 : 0xffffff800f02d2fe
0xffffff82001f3ea0 : 0xffffff800f014b18
0xffffff82001f3ec0 : 0xffffff800e963545
0xffffff82001f3f40 : 0xffffff800e963071
0xffffff82001f3fa0 : 0xffffff800e8c713e
BSD process name corresponding to current thread: kernel_task
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev
Mac OS version:
19E266
Kernel version:
Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
Kernel UUID: AB0AA7EE-3D03-3C21-91AD-5719D79D7AF6
Kernel slide: 0x000000000e600000
Kernel text base: 0xffffff800e800000
__HIB text base: 0xffffff800e700000
System model name: MacBookPro16,1 (Mac-E1008331FDC96864)
System shutdown begun: NO