Sorry, don't know anything about dogs, didn't know domesticated dogs like to roam.
Outdoor cats do like to be outdoors, they want to patrol their territory.
Unless they are sick, I would not lock an outdoor cat indoors.
Mind, when it's bed time for me the cat flap stays locked, don't fancy a half dead mouse struggle at 4am
Of course dogs would like to roam free, they are descended from wolves. They have the same primal instinct that cats do as far as being able to be out & about.
The big difference is cat owners are allowed to let their cats roam free, dog owners aren't. And even if dog owners were allowed, i doubt most of them would.