Tourist’s lucky guess cracks code to museum safe locked for 40 years