Good question!
I’ve never noticed the similarities until I saw your post.
The meanings and sounds are similar, but these two words are completely different words.
そっと is an adverb which means “doing something quietly (eg.そっと歩く). It can also mean “secretly” (eg. そっと覗く). And そっとしておく is an idiomatic phrase I’d say. It means “do not touch it/ talk about it = leave it/someone alone”.
On the other hand, there is no word ほっと actually.
ほっとくcomes form 放って置く which means “turning a blind eye”, “don’t care”, “leave something as it is”.
放って置く and そっとしておく are both able to be translated as “leave it/someone alone”. However, the salient difference between two is the reason why you do so. そっとしておく is for the person, for instance your friend broke up with his girlfriend, and he needs some time alone, so 彼をそっとしておく. 放って置く is because you don’t care or you’re not willing to get involved.
So, both ほっといて下さい or そっとしておいてください can be used for oneself and others. But I’d say it’s less common to say そっとしておいてください for oneself. And you can say both phrases to your family or friends. Yet, to your teacher, coworkers, boss, etc., you shouldn’t say it. Alternatively, I’d say “大丈夫です” and try to make nonverbal cues expressing “leave me alone”.