When dogs have sex why do they get locked to each other?

i have seen that they become lock and are unable to unlock
16 answers 16