Andy and Barney force Otis out of the courthouse and flip a coin to see who's going to take him home. When Barney loses and leaves courthouse Andy locks the door behind him. Several minutes later Barney returns by bursting in and not unlocking door first.
Toward the end when Andy lets the prisoner out of the cell he inserts the key but does not turn it, yet the door swings open.
In "Andy and the Female Speeder," Andy brings Aunt Bee to the jail to stay with the prisoner because, "A female prisoner has to have a matron; it's the law." But here, Andy and Barney fight over who will stay with the female prisoner, and never bring in a matron.