The two independent locks live on the Worker env: a var and a binding. Duck-typed; extra keys ignored.
Optional
lock 1 — the deploy-time preview flag.
lock 2 — a D1 binding only the preview deploy declares (presence is the lock; we never read prod's DB here).
The two independent locks live on the Worker env: a var and a binding. Duck-typed; extra keys ignored.