For privacy’s sack, if you want to turn off Spotlight Search on locked screen, you can simply go to 'Settings'>'Face ID & Passcode'>Toggle off 'Today View and Search'.