Hi AirJordanFan993,
We appreciate you reaching out to us. We understand that you are experiencing crashes whenever your MacBook Pro goes to sleep mode or the display goes off.
We’d like to gather additional details that may help us be in a better position to assist you.
Do you have any accessory that is connected to your MacBook Pro? For example, external storage or external monitors?
If yes, does it help if you remove your accessories?
Also, we recommend that you check if the issue persists when signed in on a different user account.
The article below can help if you do not have any other user account to test with.
Set up users, guests, and groups on Mac
If you are experiencing the issue when signed in on a different user account, we recommend that you check if the issue persists while on safe mode.
Below is an article to help guide you through the process.
How to use safe mode on your Mac
Take care!