On 1 July 2007, Lam left the civil service when she was appointed Secretary for Development by Chief Executive Donald Tsang, becoming one of the principal officials.
In July 2007, she attended a public forum at Queen's Pier in a bid to persuade the protesters to disperse and allow the demolition to begin.