Can I use my o2 SIM card in my friends three phone?

Broken my iPhone 7 and want to lend my mates old iphone 7+ as he has a new one for a few days. He Read somewhere that three phones are already unlocked is this true? Or will I have to get it unlocked first

More than likely it would need to be unlocked. No harm in testing if it is already though.