Normally, when dogs mate, the male ejaculates, followed by a phase which is referred to as locking, or being tied. During this phase, the male's penis swells and gets what is referred to as a knot, resulting in the male and female dog remaining locked or tied together, at the male is unable to withdraw.