We used baby gates for our dogs for YEARS. I have one from the 80’s that is still working. I bought a new one the other day & the locking mechanism is ridiculous. I can’t even return it because of Covid19—stores won’t accept returns. I’m so disappointed. I’m tired of being “protected” from myself to the point that stuff doesn’t even work anymore. 
Then I come here to comment and see the old style listed as a pet gate for twice the price. I still would have purchased one of those, but they are “no longer available.”  And the disappointment continues!!