Analysis of wall locking phenomena and their consequences in RFX