Quite a few basic dungeons have a generic key that opens the locks of most, if not all, the cells.

Besides, I am posting as per Jannge's instructions.