The EnvelopeLocks resource provides methods that allow you to manage locks on an envelope.
To prevent users from changing an envelope while another user is modifying it, you can lock the envelope and set the time until the lock expires.
For example, you would use the following flow:
Note: To use envelope locks, the user must have envelope locking capability enabled.
Gets envelope lock information.
Updates an envelope lock.
Locks an envelope.
Deletes an envelope lock.