lock()
Acquire an exclusive advisory lock on the mailbox so that other processes know not to modify it. An ExternalClashError
is raised if the lock is not available. The particular locking mechanisms used depend upon the mailbox format. You should always lock the mailbox before making any modifications to its contents.
Please login to continue.