Is it safe to jailbreak iphone 4S that is unlocked?

I want to jailbreak my iphone 4S but i'm not sure if it is safe or not because i'm afraid it may crush the system because it is not factory unlocked…

Added (1). I have unlocked it myself.

Yes it's safe, some jailbreak packages let you unlock it while it jailbreaks.