The PS2 was a great console during its time, but by the time the Lego Harry Potter series was being developed, newer consoles with better graphics and processing power were available. These newer consoles were needed to handle the intricate details and gameplay elements of the Lego Harry Potter games.
It's possible you might be thinking of a different Lego game that was released for the PS2, such as:
* Lego Star Wars: There were several Lego Star Wars games released for the PS2.
* Lego Indiana Jones: This game, released in 2008, featured a PS2 version.
Perhaps you're remembering one of those games and associating it with the Harry Potter franchise. If you'd like to know more about a specific Lego game, please let me know the name and we can discuss it!