"You were hacked / 39 viruses" iPhone pop up
Hi all,
Last night and today, while browsing on Safari on my iPhone 7, I've had a pop up saying that my iPhone is infected with 4 viruses ad telling me to go and download an app called Applock.
After some googling, I realize that it's a scam, but is there anything I can do to stop the pop up? Also, is there a chance that my phone is really infected with something? Considering the recent ransomware scams, is this just a continuation?
Thanks in advance,
S
[Re-Titled by Host]