Hello Vikram Snyder,
Welcome to Microsoft Community.
Normally, this prompt will appear when you make changes to some of Microsoft Defender's features for security reasons, but you can Dismiss this prompt by selecting "Dismiss" in the screenshot, and the system will follow your choice without a new prompt.
Since you do not mention whether or not you clicked this option in this thread, try clicking "Dismiss" if you have simply turned off Cloud-Delivered Protection and Automatic Sample Submission.
I tested this problem on multiple devices, and when I selected "Dismiss", Microsoft Defedner did not display a new prompt, nor did I restart the computer.
If you find that this problem continues when you restart your computer even after you select "Dismiss", I recommend that you try creating a local administrator account, then log in with that account and make changes to the Microsoft Defedner functions, restart your computer, and check if this message persists.
Best regards,
Mitchell - | Microsoft community support expert from MSFT