As displayed at the screenshot, there was a patch of lava visible from locked room. There was no lava in that room btw, on that very place was a regular door