Change directory of threadLock