[qtdeclarative] Mark gui as locked during TryRelease