In the original story, the cupboard is locked, and Harry is trapped inside until his aunt and uncle leave for a party. The video game developers seem to have overlooked this detail, potentially for gameplay purposes.
Here are some reasons why they might have done this:
* Gameplay Convenience: Having the cupboard unlocked allows players to explore the house earlier and access the cupboard's contents more readily, enhancing the beginning of the game's exploration.
* Technical Limitation: The game may not have had the technology or resources to accurately simulate a locked door and the process of unlocking it.
* Oversight: It's possible that the developers simply missed this crucial detail from the original story, leading to the discrepancy.
Regardless of the reason, the unlocked broom cupboard in the video game is considered an error by many fans and detracts from the realism and accuracy of the story adaptation.