Retrieves the configured lock timeout period.
public int getLockTimeout()
getLockTimeout returns an integer value indicating the number of seconds a vault remains unlocked before it automatically locks. The default value, 0, indicates that the lock never times out.
int timeout = vault.getLockTimeout();