lg g5 lock or not?

A

AC Question

I get a lg g5 from a private store... when I get him the lg was unlock (from spirit) but after I do a factory rest to the settings my device write "invalid sim" and I try few sim from different carriers... I look in google for solution but every lock phone ask for unlock code as I saw but my phone don't ask for any code so I cants understand if he lock or not... anyone can help me?