I read that the easier ways were not longer any good, so downloaded a few apps to my laptop and did it that way. It took a few hours.
I saw somewhere Knox being mentioned
I bought an S10 second-hand and when I downloaded Samsung Health it said unauthorised changes had been made.
Samsung told me it had been rooted.