Don Miller was looking for some gate latch recommendations. Last year Paul Gillett and Marie LaSala both built enclosures with simple latches that look and work great.
I don't think this latch is the exact same as the one Paul used but it should still work the same way. https://www.amazon.com/Wapodeai-Stainless-Suitable-Household-Bathroom/dp/B095BZ7ZNZ/ref=sr_1_35?crid=13G8J2GAYMGH0&keywords=gate+latch&qid=1651668330&sprefix=gate+latch%2Caps%2C97&sr=8-35
Marie used something similar to this. https://www.homedepot.com/p/Everbilt-2-in-Black-Hook-and-Eye-3-Pack-20317/204727568?MERCH=REC-_-pipinstock-_-204727569-_-204727568-_-N&