Can You Put Any SIM Card Into An Unlocked Phone?

What happens if you put a SIM card in an unlocked phone?

.