Lego Batman: The Video Game has two bonus stages, and each one is tied to completing a full campaign.
Earn Super Hero rank in all fifteen hero missions. Once the hero side is perfected, Wayne Manor opens up.
Earn Super Villain rank in all fifteen villain missions to unlock Arkham Asylum.
Both require a top-rank clear rather than a plain completion, so expect to replay missions to collect every minikit and true believer stud before the bonus levels appear.