Hi,
I solved the final puzzle before the last boss fight and then backtracked to collect any secrets I had previously missed. The final grate was shut upon returning and I think I'm now locked out...