Windows can't automatically close Delphi applications that include LMDDckSite in their uses clause. To reproduce, create a minimal program and add LMDDckSite to the main form's uses clause. Compile and run the program. Then sign out from Windows. Result: Windows will indicate that the Delphi app is preventing Windows from closing. I have produced this with XE7, Windows 10 and the 2015 Docking Pack.
Can you offer a workaround? Is this already fixed in the 2016 docking pack?