What you want is a per-class lock. That would partially solve the issue, and make everyone happier.