Lam entered the music industry in 2014 as a songwriter with Chet Lam's help. They met at a university singing competition where Chet Lam was a guest performer. Chet Lam liked Terence Lam's work, and they signed an agreement to have the latter write songs for the former. Lam subsequently signed a contract with Warner Music Group to be a composer, where at one point, he was composing one song a week for the company. The singer Pakho Chau's 2014 song "About Us" () was the first of Lam's compositions to achieve commercial success. "About Us" was Lam's fifth or sixth demo. His composition of the song "A Lifetime of Contradictions" () was the first to be widely noticed. JW's singing of "A Lifetime of Contradiction", which received over 18 million views, revitalised her previously flagging career. Lam subsequently finished two more songs for JW: "How Many Years" () and "Free to Soar" (). When he began composing songs, Lam was a huge fan of the Taiwanese singer Yoga Lin and Lam sent him a message with demos of songs he had composed on social media. Lin performed some of Lam's songs which led to the two forming a strong bond. Songs composed by Lam that were sung by Lin include "Bad and Worse" (), which was Lin's first Cantonese song, and "Do Not Forget You" (). In 2016 and 2017, Lam received the composer award at RTHK's "Top Ten Chinese Gold Songs Award" ceremony.
