Lock a vault to avoid it from being used. If the vault is locked, this API will have no effect.
public void lock() throws LiteDataVaultException