The time it takes Espionage to lock itself so that you have to enter your master password is called the Espionage autolock time and is adjustable via the Preferences:
Each unlocked folder can also be auto-locked after a certain amount of time by Espionage, and this is adjustable in the folder details.