Overhead doorstop

I made this door stop to prevent my cats from locking themselves in a room. Unlike a bottom doorstop, they can't pull it out. Handy when you are gone for a few days leaving them by themselves. Probably works good for dogs and little kids.

You may have to play with the width for your particular door.