It's rude to lock someone in the bathroom.
Timothy lives alone with his dog in his house who is barking loudly because he wants to go out and walk.
Timothy doesn't want to hear his dog bark anymore.
Timothy puts a leash on his dog and takes him for a walk around the neighborhood.
Timothy puts his dog in the downstairs bathroom and locks the door.
Timothy's dog stops barking and is happier and healthy.
Timothy's dog becomes more and more anxious and messes up the bathroom and develops an illness.