Lock on the class owning the static reference.