In Pokémon Diamond/Pearl/Platinum, the Member Card (event item for Darkrai) grants access to the Harbor Inn in Canalave City—but only during the active event period.
Outside the event window, the inn remains locked even with the card in your bag. The game checks the event flag, not just item possession.
Official events ended years ago. To access Darkrai now:
The Member Card alone is a key without a lock until the event activates it.