If you're trying to get into Team Galactic's headquarters in Pokémon, you'll need to get the special key from the professor in Sandgem Town.
Head over and speak with him, and he'll hand you what you need to access the building. It's a small but important step in progressing through that part of the story, so don't overlook the professor in Sandgem.