Simple L shape bracket I used to keep the gate open and locked.
M4-M5 Tapping screw to fix to gate / fence.
A M4-M5 Bolt can be used as a locking feature