Did you try to go into the room with the prisoners?
Maybe you should study the lock first.
Check out the prisoner's book with the scanner.
Did you look closely at the map?
From behind?