Domain locking/unlocking is not working