Prevent 'The resource tree is locked for modifications'