This key opens a locked safe in Dethmold's room in the basement beneath the Ruined library in Loc Muinne.