That was intended for battling e-reader trainers. You would have to go stand in front of the door, and you would need to have your GBA linked to another GBA that had an e-reader plugged into it and then scan an e-card trainer card, and then you could go through the door and battle the trainer. There is another house with a locked room for e-card trainers in FireRed/LeafGreen on Seven Island.