These work perfectly to keep the dogs out of rooms we don't want them in when we aren't home.