On a previous boat I used a large pin going through the door into the cabin side. Then ha a hasp that covered the pin and used a padlock to lock the hasp in place. Not as elegant as the OEM lock but I think you will have trouble finding something that will work.
If you are one there is no explanation necessary.
If you aren’t one, there is no explanation possible.