Hello,
I have gone through your query and understand your concern.
I suspect these are Multiple sebaceous cysts in
scrotum that is why you do not able to squeeze them.
They contain the cheesy white materials.
These are not
pimples and they are arising from swollen hair follicles.
Further these are very common in men and at this age and also in scrotum.
Another possibility is as you mentioned pimples because skin is moist and more lot of friction from the skin of the thighs, which can lead to irritation and predispose to pimple formation.
Do not prick or squeeze these cysts, it may lead to infection.
It usually do not need any treatment, unless infected or for cosmetic purpose.
If it is infected, you may need antibiotics and NSAIDs like
Ibuprofen for pain and swelling.
if you need to remove, then complete excision is advised.
My advice is do not prick or squeeze these cysts and you may get infection.
Maintain good personal hygiene.
Hope this helps.
Please write back for further queries.
Wishing you good health.