import threading class Lock(): spot_lock = threading.Lock()