It's really hard to tell how "smart" Lockheed is. Claremont made it a big deal that Kitty sees Lockheed as a friend instead of a pet. Scott Lobdell did a story where Lockheed is put on trial by his race.
Warren Ellis and Joss Whedon greatly enhanced Lockheed's role, with the odd idea that he was asked to spy on the X-Men.