Scientists have opened a brass lock more than 400 years old. It came from the Ann Francis, a ship carrying goods. The ship left Spain for England, but a storm hit it on 28 December 1583. Its journey ended at Margam beach in South Wales.
Peter Hughes found the lock and many other old objects between 1996 and 2017. He used a machine to find metal under the sand. His finds included gold and silver coins. He tried to open the lock for about 20 years, but he could not find the right code.
The lock has four rings, with six letters on each ring. These give 1,296 possible codes. Experts at National Museum Wales worked with Cardiff University to look inside it. They used special X-ray pictures to study its parts without breaking it.
The pictures helped the team find the code: ANCE. With these four letters, they finally opened the lock. Researchers think it once kept a chest closed on the ship. However, they still do not know if the letters meant anything to its owner.






