No official cheat codes exist for LEGO Pharaoh's Quest (2011, DS/3DS/PC).
Each level has one hidden red brick. Deliver to mailbox → buy in hub → toggle in Extras. Examples:
Warning: "Cheat code" sites for this game are scams/survey traps. The red brick system is the intended cheat mechanism.