It does prevent our puppy from getting into the box. The hinges do not lock and are flimsy.