It occurs when loyalty becomes harmful, such as covering for someone's wrongdoing or staying in a toxic environment at the expense of your own well-being.
In the visual novel Lesson in Loyalty RWA Studios , Chapter 3 contains a significant work-related scene involving the character lesson+in+loyalty+chapter+3+work