Prevent Users from Logging In

Some of our applications install via SCCM better when no user is logged on. Unfortunately, we have had instances where users log in while the installation is taking place and end up with a corrupted install. Is there a way to use PSAppDeploy to block the user from logging in until the installation is complete? Even better would be something similar to when Windows Updates are applied and users see that an update is taking place.