Added document builder lock