None of the locks on my bike have a locksmith's code, so I may have to get an aftermarket ignition switch, which is fine. I also found this aftermarket gas cap that lists the XS400 as compatible, but I wanted to check and see if anyone has a spare cap they could measure against. If not I guess I can break into mine and see how it compares.