Don't know for sure, but thumb through the pics of this travel desk. I suspect what you need is something similar to this latch mechanism, which seems to "swing" into position.https://www.etsy.com/listing/847232986/ ... -1-4&cns=1
Here's another example of a "swing" latch.https://www.etsy.com/listing/806211821/ ... ro=1&frs=1
Maybe you can fabricate an appropriate similar latch.... brass, copper, bronze; metals that don't rust.
"Swing" is my description, not necessarily a proper identification. Whatever latch is needed, it's probably something as simple as a "swing" type latch.