Lock design document, when quering view.