Could you do something with this by putting a notch in the arm to catch on a striker plate?
http://www.vintagecarparts.co.uk/products/807-cubby-compartment-lock-tr2

Tim