Here's how to get past them:
1. Follow the correct path: There are two entrances to the mansion. You'll need to enter through the right entrance, the one closer to the ocean. This is the only path that will lead you through the house without encountering the silver doors.
2. Keep going: The correct path will take you through several rooms, including the room with the two trainers. Keep moving forward and you'll eventually reach the room with the Secret Key.
Remember: The silver doors are meant to mislead you. Don't try to open them or force your way through them. Just follow the path carefully and you'll reach your goal!