This is my preferred wrench for those situations
I am using the similar style wrench,specifically designed for shimano 600ex,dura ace head set. Every time it scratches the locknut,not when I rotate it. But when having the wrench fitted to the locknut.