issue #19456: moved releaseLock into XM.model
issue #19456: moved releaseLock into XM.model