In multiprocessor Mixed-Criticality System (MCS), tasks must share resources (e.g., memory, I/O devices). Traditional synchronization mechanisms (e.g., suspension locks, spin locks) suffer from priority inversion and remote blocking issues in multiprocessor environments. Existing protocols (e.g., MSRP, FMLP, MrsP) optimize resource contention through mechanisms like priority ceiling and priority inheritance. However, these protocols primarily target static MCS and struggle to adapt to dynamic criticality mode switching in MCS. Since in MCS with escalating resource contention level such as autonomous driving systems: high resource contention levels may lead to the discarding of all LO-Criticality (low criticality) tasks, reducing system utilization. In this paper, we propose a Switchable Protocol Framework (SWPF), which achieves adaptability to resource contention levels by dynamically switching between optimistic and pessimistic locking protocols. Experimental results demonstrate that SWPF outperforms traditional FMLP with an average performance improvement of 5.5