issue #19606: Make sure lock mechanism works for Qt Client users.