fixes #562 Pass the appropriate ydb flags to get row locks when calling
NamespaceDetails::findByPK()