Looking for a movie and only remember one scene

The scene is where a couple is at a bank and trying to open a lockbox. throughout the whole movie they try different codes and if I remember correctly it ends up being either the name that they call each other or underneath one of their wedding rings. Please help. It’s killing me

Safe Men (1998)?