Shouldn't this be an exclusive lock? I know it doesn't change the map itself but it changes the value of all settings so it might be good to not allow any read access in between.