Greetings to you!
Since I updated to 12.5, my screen stays black when I try to wake up the Macbook.
Unfortunately, the graphics and display of these models are very problematic.
Just take a look at the comments on this link to understand that you are not alone and countless other people have had this problem too.
https://osxdaily.com/2014/11/22/fix-macbook-pro-booting-black-screen/
Not long ago, my brother's laptop, which is exactly the same model as mine, froze when logging into the OS.
By asking what happened to it, I found out that the laptop was turned on in very cold conditions in winter and this problem occurred.
Of course, safe mode was entered without any problem, but in normal mode, it got stuck when logging into the OS.
Because I had a copy of this model, I was able to replace the displays and yes, after checking, I realized that the problem is with the display.
It was interesting that even though the display was showing an image, it was not working properly and I finally found out the reason.
As you can see in the pictures, in addition to the display, WiFi/Bluetooth antenna and webcam are also located inside the panel.
The problem must have been one of these two.
We couldn't get another display for the laptop because it was too expensive here.
But fortunately, the HDMI output of the laptop was working and it could be used in detached display connector mode.
I hope this is not your problem, try software solutions, if the problem persists, suspect a hardware problem.