fix: avoid name clash in delivery stop (#37306)
* fix(stock): avoid name clash in delivery stop with Document.lock()
* chore(stock): format delivery stop json according to doctype builder
(cherry picked from commit 681782121cd0d723f725e4c1c4c30167eb1622ec)
Co-authored-by: David Arnold <dgx.arnold@gmail.com>