Create Locking_with_Deadlock_Avoidance.py