from threading import Lock

windowLock = Lock()