Are you using a Razer Chroma? Known Technical Support Issues - Updated Oct 13, 2021 - #16 by Drakuloth
System crashes are generally a more serious issue related to hardware or corrupted drivers. If the above is not your issue, please include a dxdiag in your reply.