AFAIK the key near the dead priest is not associated with any lock.

Have you checked all the loot? One of the bandits should drop a key to get through the locked door, and past there is a puzzle to lower the force field blocking the other path.