Does anyone know (or have) any code which will able me to add the functionality of NT locking terminals? This would be useful as I could give the user a timeout option in the app to lock the machine.

Thanks