In 1984 Lamela graduated and received a law degree from Comillas Pontifical University, and in 1986 she began working as a judge in Orihuela's trial court. In 1987 she was transferred to the trial court of Manzanares, Ciudad Real. One of the first cases she handled was the one involving the death of Mikel Lopetegui. Between 1989 y 1990 she was assigned to the trial court number 3 of Badalona. In 1990 Lamela was appointed magistrate for the Audiencia Provincial of Barcelona. In 1993 she moved to Madrid to work as magistrate at the trial court number 25. Four years later in 1997 she moved to section 16 and then to the criminal section 17 of the Audiencia Provincial of Madrid.
In 2010 Lamela was one of the candidates to join the Audiencia Nacional of Spain, she was nominated along with magistrates Pablo Ruz and Carmen Rodríguez-Medel by the governing body of the Audiencia Nacional in the permanent committee of the General Council of the Judiciary to serve at trial court number 5 after the preliminary suspension of judge Baltasar Garzón. In 2014 Joined the Audiencia Nacional, first serving in the criminal section and since November 2015 as examining magistrate at the third court of the National Court of Spain replacing Juan Pablo González. On 28 September Lamela became the sitting magistrate for the court after Javier Gómez Bermúdez renounced his post to work as a lawyer. Lamela has managed various controversial court cases, like the one against Abengoa, or the trial against Bancaja. Other notable cases:
The operation Rimet about Sandro Rosell's alleged money laundering, ordering precautionary imprisonment for Mr. Rosell, acquitted and released two years later.
In October 2016, the trial concerning the attack on two Civil Guard officers in a bar in the town of Alsasua in the Basque Country region, bringing the case from local jurisdiction to the National Court in Madrid for alleged relation of the defendants to terrorism; despite their conviction, they were acquitted of 'terrorism' charges in 2019.
In October 2016, the trial case against thirteen rap singers from the group "La Insurgencia" under charges of "glorifying terrorism" through songs published at YouTube and Facebook.