The paper introduces a new function-based framework for classifying mutual exclusion algorithms in distributed systems, which traditionally fall into token-based and permission-based categories. This framework evaluates these algorithms across four groups: token-based, permission-based, hybrid, and k-mutual exclusion, and establishes criteria such as message complexity and synchronization delay for thorough comparison. The proposed framework aims to enhance the evaluation and understanding of mutual exclusion solutions in distributed environments while addressing issues like fault tolerance and algorithm efficiency.