The origin of the practice is unclear - padlocks have appeared in China for years at sacred sites, and there was a flurry of padlocking in the Hungarian town of Pecs in the 1980s, when university students locked them on a bridge next to the university either as a symbol of undying love or their determination to finish their courses.