This is a Windows 10 batch file that can be added to the Local group policy sign out that will clear credentials from various applications, such as Zoom, Office 2019, Teams etc. This script is a work in progress, and may be changed to a powershell script in the future.
Enable this script for a local user by opening Local Group Policy Editor and navigating to User Configuration > Windows Settings > Scripts (Logon/Logoff) > Logoff as below:

Use the Show Files button to locate the folder location to store the batch file