Simple.
You keep a secret stash of gold that no one except you knows about. This way, if you do happen to divorce in the future, you aren't totally wiped out.
You can never know for sure the motivations of other people.
If the marriage does turn out happy and successfull, the locked...