In my Blender 2.82a the snap function is not working
While in Edit Mode for any object, open the Properties Shelf if it isn't already open (n key while hovering mouse in the 3D View), and click on the Tools Tab. Under the Options section, there is a feature called Auto Merge. Make sure it is not checked if you don't want vertices automatically merging with other vertices when they get close.