Hi Olli
TDL already supports password protection: 'File > Encrypt Tasklist'.
Currently TDL will request a password whenever the tasklist is switched to or the app is pulled to the foreground.
The only secure to override this is to run TDL with '-x' on the commandline in which case TDL will only request a password when the tasklist is first loaded.
Dan