That's the traditional meaning, but also commonly used to refer to politicians who are term limited, and can't run again.
https://en.wikipedia.org/wiki/Lame_duck_(politics)#United_St...
A president elected to a second term is sometimes seen as a lame duck from early in the second term, since term limits prevent them from contesting re-election four years later.