When I first bought my Gulfstream I broke a couple of those because they are not designed to be slammed shut. You have to close the compartment with ease, then just give it an extra tap to make sure it is locked.
But I just called Gulfstream and I purchased the locks through them. They were very responsive on me getting the part. If I recall, I don't think they even charged me because it was still under warranty.
2002 Gulf Stream Scenic Cruiser
2018 Buick Envision Essence
Neway Freightliner chassis
Aventa II Blue Ox