A padlock icon has appeared in the browser bar and I can't open any websites. How can I fix this?

A padlock icon has appeared in the browser bar and I cant open any websites

I only noticed it a couple of days ago and no idea why it has appeared. I have no doubt activated something in error. I can enter a prompt for a website in the browser bar but when it comes up the padlock is next to it and I can't open anything. Regular websites I visit seem OK e.g facebook but I cant open another website from there.

Original thread: https://forums.imore.com/threads/a-padlock-icon-has-appeared-in-the-browser-bar-and-i-cant-open-any-websites-how-can-i-fix-this.359504/