https://yamcode.com/watch-out-....what-hook-deadlocks-
Cabin Hook Lock A cabin hook lock is a practical option to keep doors open and secure gates for gardens. It consists of two components: a hook that attaches to a wall, and an eye that is attached to the door. It is typically made of steel and comes with corrosion protection to stop rust staining. It is best to fit the cabin hook as far away from the hinge as is possible. This will lessen the force applied to the fixing, and will prevent strain on the hinges. They are a convenient way to keep doors open