How do you unlock an iphone se when you have forgotten passcode but don't want to looose photos (data)?

How do you unlock an iphone se when you have forgotten passcode but don't want to looose photos (data)?

Added (1). *loose

You enter the passcode. The only alternative is to wipe the device.

But if you've been making back-ups (which is FREE to do), then there's no issue.