Frankenstein is the name of the man who made the monster, not the monster. The creature in Mary Shelley's novel never gets a name. Yet the creator's surname soon attached itself to the thing he built.
The surname is German. Etymonline says it probably means "Franconian mountain," since stein often named the steep, rocky peaks of the Rhineland, many of them crowned with castles. It may also suggest "free stone." Wikipedia reads the name of one such castle more plainly as "stone of the Franks," the rock it stands on.
That castle supplies the most popular origin story. Burg Frankenstein stands near Darmstadt. Lord Conrad II Reiz of Breuberg built it before 1250 and then took the name von und zu Frankenstein. In 1673 the alchemist Johann Konrad Dippel was born there. He made an animal oil from bones and reportedly offered his formula in exchange for the castle.
Shelley did travel on the Rhine in 1814 and spent a few hours at Gernsheim, about 16 km from the castle. That is as close as the evidence gets. Her journals from the time do not mention the castle. Stories that Dippel dug up bodies are unsupported, and none of the claims linking Shelley to the castle has been proven.
The notes to the Penn electronic edition of the novel are blunter. They find no documentary evidence of a visit, and observe that none of the party spoke German. They also argue that the name was common enough not to need a real prototype. The genuine oddity, they say, is why so Germanic a name belongs to a French-speaking family in Switzerland.
The novel appeared in 1818, and the name quickly became shorthand. Word Histories dates "Frankenstein's monster," meaning a creation that escapes its maker's control, to 1822 in Britain. Etymonline records the name for man-made monsters from 1838. Moving the name from creator to creature was so common that Fowler's Modern English Usage of 1926 called it a very common blunder.
The habit eventually produced a prefix. Franken- now means "genetically modified" or simply unnatural. Word Histories credits Paul Lewis with using it in 1992 to form Frankenfood.