I think you have to appove it, If you've got a usb adapter you could try plugging in a usb mouse, That way you could unlock the screen and at least upload to cloud storage using the mouse instead of the touch screen, not sure if that's blocked from the lock screen as well though
Edit: Just tried on my P30 Pro, a usb mouse can be used on the lock screen to unlock, so that would be the way to go :)