There will always be a risk of losing data when you download or connect your phone to software, no matter how secure it is. To protect your data, ensure you have backed it up before unlocking your phone.