There is no such rule that you cannot get your Samsung TracFone unlocked if you are under a contract. The only thing you need to worry about is that you have to meet the eligibility requirements for unlocking. If you meet that, you are good to go.