It is some time now that my PC freezes just after starting it up after a few hours of inactivity, after that initial freeze it goes all well. Checking the error registry I always find this one the moment before it freezes:
Windows Hello for Business provisioning will not be launched. Device is AAD joined ( AADJ or DJ++ ): Not Tested User has logged on with AAD credentials: No Windows Hello for Business policy is enabled: Not Tested Local computer meets Windows hello for business hardware requirements: Not Tested User is not connected to the machine via Remote Desktop: Yes User certificate for on premise auth policy is enabled: Not Tested Machine is governed by none policy. See https://go.microsoft.com/fwlink/?linkid=832647 for more details.
The service is unavailable/inactive on my PC since it is a desktop and not a laptop and I dont have devices for biometrics login procedures.
Update: it just happened again while using the PC, not right after startup like usually, I was opening a picture using system default photo program (not paint 3d, I think it is called just "Photo")
Update 2: PC just freeze again, this time I was doing nothing, just moving the mouse on the desktop, joined Group Home domain and added Microsoft account as a way to login into my PC.