lock

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.

Syntax

public void lock()

Examples