Code example for LockMode

Methods: equals