go to setting,than biometric and security after that click face recognition,there is a opposite call (stay on lock screen until swip) turn it off.When you do that you don't have to swip up for opening your phone after face lock.
Go to setting,find device and battery care than click on it.In the upper corner you will find storage booster,open it than turn off the auto delete unnecessary files.After that your device won't delete you app files automatically.