Locke thinks yes.
Berkeley thinks that primary and secondary qualities are ideas in the mind, and neither are mind independent objects. This means he thinks they are both as ‘real’ as each other, unlike Locke who thinks that primary qualities are more ‘real’. Berkeley thinks that secondary qualities cannot resemble properties in the real object since they depend on the perceiver in SOME way e.g water seeming hot to one hand and cold to the other. He argues that the same is true for primary qualities as we can argue that shape and size are not resemblances of qualities existing in matter as different people see the same object in different ways (perceptual variation). Also, he thinks we can’t conceive of an object without primary qualities but neither can we imagine it without secondary qualities.