Well, Yale Locks and Euro Cylinder locks, which are pin-tumbler-mechanism locks, are known for this type of risk - the key getting snapped inside them. The reason for this is usually the general wear and tear caused over time, either to the key or to the tumbler mechanism. You can read more about the door lock problems in this article.