I had the same issue with my Samsung laptop.

It turned out the desktop background was causing the hang-up. I had it set up to switch the background using my photos in the photo directory periodically and it seems to cause the hang whenever that was kicked in. Interestingly, the hang only happened when the PC was inactive.
I now set the background to fixed black color, and I no longer have this issue.