Use shrinkwrap on certain vertices?
In your object, in Edit or in Weight Paint mode, you just have to create the vertex group that is supposed to stick to the Target object, then add your Shrinkwrap modifier and choose this group in Vertex Group.



Also note that the more your vertice will be part of the group (i.e. from 0 to 100% weight), the more it will stick to its Target object