A design I originally created in 2016 for a bolt to be used as the hinge mechanism.
Since then it has been improved by Kingmiwok with larger footprint. Simply use a wire for the hinge part, no hard to find parts or screws needed.
I suggest a strong setting at any thickness.