before adding pixel_A/B color you have to multiply it with A/B alpha value as Sid has already said. besides you don't have to lock all of your heightmap parts at once - just lock em one by one.