I am also facing the same issue with my hp envy 16,

I think this is not due to bios, in my laptop there a capasitor blown and it is causing BSOD issues.

try booting ubuntu, it should work fine.

I am not sure how to fix this capasitor issue....