15 inch MacBook Pro running macOS Mojave woke up with blue screen from sleep
I suggest booting into diagnostic mode (search here or Google for instructions based on your particular Mac). Either it’s a fluke or your GPU is soon to die.