If I understood correctly, you can NOT unlock your device? If so, I hope your wifi is ON and auto backup too. The phone should do this by itself every few days. You can check Onedrive online to see if the pictures are coming up and in the settings, somewhere you can see your devices, and when they were last backed up.
Otherwise, just connect via USB to a PC and transfer stuff. Hope that helps...