It is not surely conveyed that your data will not lose during the bypassing process. But for surety, you can create a valid backup of your data before starting the bypassing pattern lock process.