You should be able to teleport behind the wall through a crack or so and open it using a lever.

Not sure if the key was for that door or another one, was a while ago.