One of the most popular brands of threadlocker is Loctite ... The red formula is not only considered high-strength, but it ...
While high-temperature threadlocker derivatives exist, typical Loctite-branded threadlocker (and similar products) would not appear to be able to stand the heat of a typical soldering iron.