Appreciate if someone could confirm whether this is expected behaviour (and why if so).

Audi A6 Avant BE - 2013.

Driver's side internal door lock button opens all doors if pressed. If the lock button is pressed, the doors do not lock whilst the engine/ignition is on. With engine/ignition off, the lock button will lock all doors as expected.

Automatic lock (if set on) works correctly when driving away from standstill.

Thanks.