Hi and welcome to the Forum.
Have you checked your Event Viewer to confirm what is hanging during shutdown?
Right-click Start then select Event Viewer
If you're not familiar with this tool ask and I or someone else can walk you through the necessary steps to self analyze your particular situation.
Could you let us know too what if any third party applications you are using for maintenance or security; for example, Norton, Malwarebytes, Ccleaner, Ad-Ware, etcetera.
Regards,
Regedit32
Footnote: I had a similar experience a while back. For me it turned out to be a classic case of Malwarebytes and Norton 360 not getting along on security scans during shutdown. Solution: remove Malwarebytes - its a pretty useless program anyway
On a later occasion updating my BIOS resolved a shutdown freeze too.