DirectoryBase.lock supports sub directories