Issue / Question
How to disable Google Search Bar especially the microphone button?
Is there any way to get rid of the camera and microphone button on Lock Screen?
The microphone button is for Google Assistant
Resolution / Answer
One known method to disable Google Search bar and/or Google Assistant is to install Enterprise Home Screen (EHS).
EHS when installed have a default configuration to bypass the Lock screen (also known as Keyguard).
If Lock Screen is enabled, to prevent use of Camera and Search from the lock screen, make sure Keyguard Camera and Keyguard Search tags are disabled.