Removed $wgAntiLockFlags to unify the code paths

Change-Id: Ia709ccdc9addc55c99cbff21a5ff3009b5fbb53c
Merge "Removed $wgAntiLockFlags to unify the code paths"