When you shop for auto insurance or any other type of insurance the insurance company will check your credit score which will put an inquiry on your credit report.
But those inquiries that the auto insurance and insurance companies put on your credit report does not affect or lower your credit score at all.
So no shopping around for auto insurance and getting quotes either online or in an insurance office will not hurt your credit score.