- Call LockContainer only if it's not already locked/unlocked.