If your Samsung Galaxy Core Prime comes from MetroPCS USA then it's most likely your Cell Phone is locked with "Device Unlock App" and not asking for a unlock code (SIM Network Unlock PIN). In this situation it's very important to order the unlock of your device using this special service:
With all Samsung Galaxy Core Prime Unlocking Code orders we usually deliver a complete set of unlocking codes. Most of the time you just need the Network Code (NCK) but when needed you'll also receive Unfreeze Code, Reset Key, or Service Provide Code. In the same email that includes your unlock code(s), you will also receive complete instructions on how to use it. Usually, you just insert the SIM card in the phone you want to use and the phone will prompt you for the unlock code. In case you need any assistance, our customer support is always there to answer any questions you might have. We will get back to you within less than 12 Hours from Monday to Friday.