"Lame duck" takes a hyphen when it is acting like an adjective and modifying a noun, as in "The lame-duck senator took an early lunch."
But it doesn't need a hyphen when it's acting like a noun, as in "The senator is a lame duck."
You might wonder if "lame" is modifying "duck" in the second case, but "lame duck" is such an established phrase that it's actually listed in dictionaries as a noun. (But either way, it wouldn't take a hyphen.)
