The problem of screen freezing during prolonged inactivity is due to the graphics card or similar issue

Hello and welcome,
Take a look at this