No single unlock code exists. Codes (if any) are unique per cartridge, region, or promotional campaign.
Play the game. Tangled DS is short (~4 hrs) — 100% completion unlocks everything legitimately.