The game has a built-in hint system, where you ask the other characters what to do. Sure, there's an achievement if you get through the game without it, but you can earn that later by loading up a save file and going past that point.
If their banter doesn't give you a hint, though, look around the last room very carefully. There is one thing there that they won't miss. They probably wouldn't even think to catalogue it.