Oppo A9 phone unlock

Hi All,

how can i enable the file transfer option after connecting to PC when my phone is locked( i forgot my password so can’t unlock it )