Rudger Clawson cites Franklin D. Richards as saying that Joseph Smith sought to know missing keys of Masonry.
Stan Larson, ed., A Ministry of Meetings: The Apostolic Diaries of Rudger Clawson (Salt Lake City: Signature Books, 1993), 41–42, April 4, 1899
Pres. Richards made a few remarks upon the importance of the brethren keeping sacred matters that are brought before the brethren for their consideration. Also, dwelt upon the importance of keeping proper minutes of our meetings. Said he desired to say a few words about Freemasonry. A Masonic Lodge, he said, was established in Nauvoo and Joseph Smith, Brigham Young, Willard Richards, John Taylor, Lorenzo Snow, Orson Hyde, F. D. Richards, and about 1000 others in all became Masons. Joseph, the Prophet, was aware that there were some things about Masonry which had come down from the beginning and he desired to know what they were, hence the lodge. The Masons admitted some keys of knowledge appertaining to Masonry were lost. Joseph enquired of the Lord concerning the matter and He revealed to the Prophet true Masonry, as we have it in our temples. Owing to the superior knowledge Joseph had received, the Masons became jealous and cut off the Mormon Lodge.