To unlock the Penguin in LEGO Batman, you first need to complete the "Power Crazed Penguin" chapter in Hero Mode. Once that is done, head back and finish the first portion of the same chapter in Villain Mode.
Completing both parts rewards you with the Penguin as a playable character, adding him to your growing roster of villains and heroes.