Hi ABQSharon52,
Thanks for using the Apple Support Communities.
We’re happy to provide some assistance.
Based on your original post, we recommend the troubleshooting steps via the link below since your mother is locked out of her iPhone due to a passcode issue.
If you forgot your iPhone passcode
To perform the above troubleshooting actions recommended by the article, please read through and complete steps one through four.
We’re recommending these steps because they directly address the issue you initially reached out to the community about: your mother accidentally locked herself out of her iPhone.
If the original problem persists after trying our suggested troubleshooting steps, provide us with specifics on what your mother is seeing for more help.
Cheers!