By default, your files are only stored in the app, so you will lose your files if you delete the app or lose/break your phone.

If you have enabled automatic iCloud backup on your iPhone/iPad to backup your entire device, you may be able to restore a previous backup and get your files back. Details here:

If you have Premium Pass and choose to enable cloud backup in Locker, the files you choose to back up are backed up in your own iCloud storage, so that you can restore files if your phone is ever lost or broken. We are never able to see your files. Note that you must backup each file you want backed up, they are not automatically all backed up if you enable cloud backup.