Mallorca's Ivan Ramis was sent off for a second yellow card for handball in the area and they also had Josemi Gonzalez dismissed for the same offence in conceding the first penalty.
Ten minutes later Arsenal's goalkeeper was shown a yellow card for upending Ramires inside the area before Lampard stepped up to score his eighth league goal of the season, prompting Chelsea's fans to implore owner Roman Abramovich to extend the 34-year-old's contract beyond the end of the season.