“Look on my works, ye burglars, and despair.” These were the words used to describe the locks of Jeremiah Chubb, an iron worker in 19th-century London who was renowned for his Detector, a security lock that was thought to be virtually impregnable. The prying tips of picking tools would trigger the bolt in such a way that even the conventional key would no longer be able to open it. Upon trying—and failing—to open the lock, the owner would realize it had been tampered with (the lock could then be opened, originally by using a "regulator key," and later by turning the "true key" counterclockwise to reset it).

The Detector was one of many famous British locks of the era, an example of design and ingenuity that lock companies would promote with pride. Frequently, the companies would challenge skilled lockpickers to test their merchandise, offering a cash reward if they could circumvent the levers, trips, and other internal mechanisms. It never happened. In one instance, Chubb even conspired with authorities to arrange for an inmate to try compromising his Detector. If the prisoner could, he would be awarded with five pounds (some versions of this story say his reward would be his freedom, but that is a myth). The felon failed.

Patented in 1818, the Detector spent decades as one of England’s greatest assurances. Whatever valuables lay beyond the lock were guaranteed to remain safe and secure, immune to even the most sophisticated or skilled attempts at a breach.

In 1851, an American locksmith named Alfred C. Hobbs crossed the Atlantic, stepped into the throngs of industrial suppliers and media at the Great Exhibition in London, and announced that the Chubb lock was merely a plaything. In front of astonished onlookers, Hobbs picked the lock in 25 minutes. Asked to do it a second time, he succeeded—this time in just seven minutes. In moments, the American had become the Houdini of the lock industry, shattering the trust of citizens who believed the Detector was beyond tampering.

Like Houdini, Hobbs knew how to monetize such amazing publicity. And like Houdini, he was determined to raise the stakes of his performances. As soon as he picked the Chubb lock, Hobbs declared his next target was the Bramah—a lock that had resisted all attempts at picking for the previous 61 years, and one so revered that women had taken to wearing its key around their necks as a status symbol.

Thanks to Hobbs, that adoration would shortly turn to paranoia.

In an era where nothing—credit card numbers, data, or personal belongings—can truly be considered safe, it’s hard to imagine a time when people invested complete confidence in security. But that was the case in the late 1700s and early 1800s, when the concept of “perfect security” didn’t allow for any concern over valuables being compromised. Safes and lock boxes could, of course, be stolen wholesale, and perhaps smashed into submission, but the locks themselves were perceived as impenetrable. A growing middle-class populating England's cities had started to embrace the idea that spending money on a quality lock was almost as good as posting an armed guard.

It was a good time for Joseph Bramah to get into the business. Born in Yorkshire in April 1749, Bramah initially seemed destined to carry on his father’s farming labors, but a leg injury at the age of 16 had him backing away from hard manual labor to take up an apprenticeship in cabinet making. Soon he moved to London, where he began installing water closets—essentially indoor toilets—for upper-class clientele while attending lectures on locksmithing. In 1784, he introduced the Bramah Safety Lock while setting up his own Bramah Lock Company.

At the time, English locksmiths were partial to boastful displays and “rivalries,” which were perpetuated to stir interest on the part of the press. While most high-quality locks were considered virtually pick-proof, companies tried to stand out by demonstrating the struggles burglars might have in trying to compromise their product. Grandstand challenges were common, and companies tried to introduce new components that would further resist tampering. All high-end locks did mainly the same thing, but bells and whistles could perhaps persuade consumers to choose one brand over another.

In 1790, Bramah placed the 4-inch wide, 1.5-inch thick Bramah Safety Lock in the window of his workshop in the Piccadilly area of London’s West End. Stamped below the sturdy, cast-iron construct was a message:

"The artist who can make an instrument that will pick or open this lock shall receive 200 guineas the moment it is produced. Applications in writing only."

Despite many challengers, Bramah was never called upon to produce those funds, which would be about $28,000 in today’s dollars. He died in 1814 in the knowledge that his lock would remain in the shop window as testament to his engineering prowess. What he couldn’t have known was that the man who would eventually overcome his challenge was then a 2-year-old living in Boston.

A.C. Hobbs was born in 1812, and arrived to the lock industry after stints in glass-cutting and doorknob design. At the age of 28, he obtained a position as a lock salesman for the Day & Newell company, which borrowed the London tradition of selling locks by making a show out of compromising the competition. Hobbs would visit bank managers and, armed with his lock-picking instruments, produce an alarming click, proving their security was under par. His Day & Newell locks, he promised, would never bend so easily, having a hood over the keyhole that made visibility for pickers difficult.

In 1851, Day & Newell sent their marquee salesman to London’s Great Exhibition. The goal was to make quick work of England’s most respected locks—the Chubb and the Bramah—and then offer a more secure alternative. Hobbs crossed the Atlantic on a boat with a suitcase full of criminal implements and a letter from New York’s chief of police endorsing his good citizenship.

Arriving in England, Hobbs immediately caused a stir by declaring that his locks were unpickable. Having captured people's attention, he produced the open Chubb lock, once for press and a second time for a panel of arbitrators who independently confirmed his feat.

That panel would oversee his attempt at the Bramah, which Hobbs had submitted a request to handle in June 1851. The Bramah Lock Company, now operated by Bramah’s relatives, agreed, and a playing field was decided: Hobbs would be given room and board in an apartment above the shop for a period of one month, where he would have access to the lock. To make sure the Bramah Company didn’t complicate matters while he was taking a break, Hobbs shielded the lock with an iron cover.

After nearly 30 days, Hobbs emerged from the dwelling with ample pride and one picked Bramah lock. It had taken him 51 hours of work spread over 16 days, but he had succeeded in trumping 67 years of boasting.

The arbitration panel examined the lock and used the original key to open it, confirming Hobbs hadn’t damaged the keyhole in the process. The Bramah staff was less enthused, claiming Hobbs had used excessive force, bending pins and levers inside in a violent breach of security. But there were no rules about gracefulness. Hobbs had topped the Bramah/Chubbs hierarchy. And in doing so, he ushered in a new era of paranoia. Now absent an unpickable lock, England was suddenly feeling very insecure.

In their scramble to soothe the fears of everyone who owned a Bramah, both the locksmith and the press pointed out that the lock had been compromised only after weeks of diligent tinkering by a highly-skilled challenger. The conditions were highly favorable, they argued, but in the real world, anyone with actual malice or theft in mind would not be granted such lenience.

As predicted, Hobbs benefited greatly from his feats. Caught up in the hysteria, the Bank of England swapped their Bramahs and Chubbs for American locks. Breaking from Day & Newell, Hobbs’s folk hero celebrity allowed him to open his own lock business in the UK, joining the lock arms race that has continued more or less unabated to this day.

The Bramah Lock Company is still in operation, having survived what observers at the time feared would become a lockless society. Writing of the Bramah breach in 1851, Living Age magazine wondered what would become of a population that could no longer rely upon locks to protect their material goods: “The best substitute for the lock on the safe," the author wrote, "is honesty in the heart.”