Luckily, the phone can be synced, backed up, or have pictures uploaded from the camera roll while it is locked.
If the photos/vidos are still on the Camera Roll, then she can connect the phone to a computer and it will appear as a digital camera, from which she can upload them.
If she has moved them into separate folders on the phone, then she will have to connect it to iTunes and let it sync to copy the photos and videos to the computer.
While she is connected to the computer, she can do a final backup before restoring it (that will also back up the Camera Roll, BTW).