I seem to have the same problem, every time I swipe to open the lock screen I get adverts and porn sites, the only thing I installed was PDF reader from the Playstore which I have uninstalled but no difference.
Avast doesn't find it or Malwarebytes.
I tried to install TWRP manager from the...