Turn Off Cortana using Group Policy
Type gpedit.msc in the taskbar search bar and press the Enter key to open the Local Group Policy Editor. Navigate to the following settings: Double-click on Allow Cortana to open its settings box. Set the settings to Disabled, click Apply and Exit.
Disable Cortana using Registry
If your Windows does not ship with Group Policy, type regedit in the taskbar search and hit Enter to open the Registry Editor. Navigate to the following key: In the left pane, right-click on the Windows Search key and select New > DWORD (32-it) Value. You will find it formed in the left pane. Give this newly created DWORD value the name AllowCortana and set its value to 0 to disable the feature. To enable Cortana again, you may delete this AllowCortana value or change it from 0 to 1. I hope this helps!
What happens if I disable Cortana?
While it was tightly integrated with Windows 10, it is not the same case anymore. As Windows 10 was updated the integration got lighter, and it disappeared in Windows 11. While the service is still there, you can invoke it using voice, but if you choose to turn it off, it will not break any service.