Temperature can't be locked. It is something that depends on many variables (sun luminosity, atmospheric pressure and composition, distance from sun etc., etc....).
It is almost impossible for a planet to have surface temperature 15C on an orbit as close as Mercury's orbit is. Unless you involve some weird sifi technology, off course.