While setting up your device for the 1st time make sure to set it up as a new device and don’t copy any back-up especially if you are coming from a different manufacturer. Sometimes some manufacturers add or remove some features which aren’t compatible with other devices so resorting back up can cause some issue.
I had a Motorola device where I could set “lockscreen message" and when I set up a OnePlus device it copied the back-up and that lockscreen message also restored agong side other settings, but on OnePlus devices there’s no option to remove or edit. So only option to remove the text was to do factory reset.