Screen turns black after I enter a wrong unlock pattern / bluescreen at startup

First, Turn off the FP. If it doesn’t react anymore (you can’t turn off the phone), take out the battery and put it back in.

Then, just follow the instructions on how to perform a hard reset.