How do I know if my phone is locked to an operator?

How do I know if my phone is locked to an operator?

A simple test is done by inserting a sim card from another operator into your phone. If your phone then works as normal then it is not operator locked