Hearts boss Gary Locke has revealed he was moved to tears when he heard the stricken club had been saved from liquidation.