Locks the vault.
Once a vault is locked, you must unlock it before changing the vault’s properties or storing anything in it. If the vault is already locked, this method has no effect.
Examples
- Locks the data vault. – Prevents changing the vaults properties or stored content.
vault.lock();