Added locking functionality