How to unlock without losing data