Keeps the dogs from going upstairs. Sturdy locking latch. Will work great for children or pets!!