The threading module also includes a simple lock mechanism, which allows us to implement synchronization between threads.