"iPhone frozen and receiving memory-related scam messagesL My iPhone has frozen nothing works.i was getting random messages about my memory being diminished, and prompting me to purchase memory apps to clean up my phone. Is this a scam ? How do I get my phone working again?"
-------
That is a scam. No one but you would see this information on your iPhone, even remotely.
So, Report this Message and Secure your Info:
Being account accessibility is of big concern here, (I.)report this message, and (II.)secure your account.
I. Report this Message:
So, report phone call's and messages info to Apple and others (such as your government). Use my User: Using the Photos App to Report Scams - User Tip
and...
II. Secure your Info:
A. Verify your Devices:
Verify that all devices are logged in to your account, by using this link: Check your Apple ID Device List to See where you're Signed in - Apple Support
then...
B. Modify your Credentials:
Having received this, someone may have your credentials. So, by all means, consider modifying them...
Troubleshooting a Frozen iPhone:
Start with a Force Restart:
Go Here: Force Restart iPhone - Apple Support
Try the Tips at these Apple Support Links: