This situation may not arise in your game. If you see someone inside one of the Konkalite torture cages, read on.
To open the cage, pick the lock.
The item to use can be found in Dhorkan's desk.