In C# 13, lock over a System.Threading.Lock compiles to EnterScope() and a disposed ref struct — not Monitor.Enter/Exit. Here is both lowerings in IL, why the type of the locked expression decides which one you get, and how Glass tells them apart instead…