It seems to be interesting that the dog can just easily put his head into the collar and tie it up himself.
This is possible with some simple rope nodes. The knot shown below, is a knot that unties itself.
Free loop, can maybe be used to unlock the dog from the leash.
This principle is shown here: