It's a toponymic surname, meaning it originated from a place name. "Lacerda" likely referred to a location with a large lizard population, or perhaps a place with a geographical feature resembling a lizard.
The surname is not very common outside of Portugal and Brazil, and it's likely to be of Iberian origin.