Knocking can mean a lot of things.
Spat a shim out in the top end
Big end bearing
Sloppy piston/bore clearances
Not necessarily because its too lean, but yes if you run too lean and fuck a piston, that could cause some pretty bad knocking
Depends what type of knocking it is too...piston slap and big end knock sound completely different