basics for queueLock plugin