When you sign up for Locket, you'll be asked for your phone number. The app will then send you a code to verify your number.
If you see an error message after typing in your phone number, verify that the country code at the start of the number is correct. For instance, US numbers should start with "+1" and UK numbers should start with "+44". If the code is incorrect, delete the incorrect country code and manually type in the correct one.