Short answer: no. There is no legitimate cheat code in Kingdom Hearts II that lets you walk into any world at will, and the game never shipped with one.
Worlds unlock as you clear the story, so the real path forward is simply to keep progressing. Finish the current world's plot, return to the Gummi Ship, and the next destination opens up. If you are stuck on a specific world rather than the world list itself, replaying the relevant story sequence or checking a walkthrough for that particular area will save you far more time than hunting for a code that does not exist.