Main:
Code Documentation:
Unit Testing
LockMgr.
__exit__
When the context manager is finished or an exception occurs, we unlock all locks that were created during the context manager session.