There are strange features here. You specify group = "gender", but your parameter vector has 5 elements. I understand that gender is not truly binary (nor is biological sex, nor is it even unidimensional), but are you sure there are 5 groups in your sample data?
table(ISS$gender)
Regardless, you cannot combine labels and numerical values in a single vector. So you would have to specify the parameter twice (on the same line) to use both operations. Assuming the variance is already a free parameter, freeing it would be redundant; it would suffice to simply give it a different label:
Exh3 ~~ c(different.label, b, b, b, b)*Exh3
# equivalent result:
# Exh3 ~~ c(b.1, b, b, b, b)*Exh3 + c(NA, NA, NA, NA, NA)*Exh3
However, you are using DWLS, without specifying any variables as
ordered=, so it is unclear whether Exh3 is ordinal. Because you haven't provided your model syntax, it is not even clear whether Exh3 is an indicator or common factor. If it is an ordinal, you can't free its (residual) variance because you have not set
parameterization = "theta". If you do so, then the syntax allowing 4 of 5 groups to have different residual variances would be contingent upon one of those groups having a fixed residual variance for identification. So perhaps something like this:
But it all depends on what you are trying to do, which would be much clearer with a replicable syntax example and more thorough description.