Is this for unattended or attended scenario?
For unattended - just revoke permissions to run the app from the user account used for the unattended session (number of ways, like removing access to the installation folder, uninstalling the app, or more sophisticated ways via GPO etc if you have IT ops team - ask them)
For attended - nothing pops into my mind, maybe some tinkering with windows scheduled tasks:
- trigger schedule task each time "app 1" is opened
- if there is PAD process running at the time APP was started - kill the APP or PAD process or similar crazy way of doing this hahaha 😄
or maybe you have some management/security software that could do this for you.