Your phone locked up because that app is now installed on your phone and has stolen all your information. It will now text all your contacts so that it can replicate on all their phones and steal all their information as well.
Unwanted Text Messages
Forward unwanted text messages to 7726 so that your carrier will block them. Also, never, ever click on a link as it will probably install something nasty to your phone that you really will not want to deal with.