Apple always cared about the safety of its customers. The company has been able to create a full-fledged multi-level system to protect its hardware and software ecosystem and protect its customers in recent years. Unfortunately, the system is not without its shortcomings.
Oleg Afonin described the rise and fall of the iOS security in his article. At this point, the access code is all that remains of iOS-security in iOS 11. You lose your data if the attacker has your iPhone and your access code. Why Apple decided to get rid of the system that used to deliver a seemingly perfect balance between security and convenience is beyond us. Do not forget about the precautionary measures.