Following the answer from this post, I would like to make a wrapper around Threading.Lock() which behaves like a normal lock when used with a context manager li
Threading.Lock()