No, bypassing lock screen security requires the device to reset to its factory state which erases the internal storage only. It does not affect the external storage like the SD card. Although, all the accounts linked with the device are also removed, which you can add again by logging in from the account menu of the device.