To unlock Knuckles in Sonic Advance 3, you likely need to complete the final act of Toy Kingdom with Sonic as the team leader. Finishing that stage under those conditions is the key to adding Knuckles to your playable roster.