Android File Transfer will not “see” your phone when you plug in the USB cable unless you unlock the phone (e.g. by entering your PIN).

Then you will also need to pull down the notifications list, tap on the “USB for charging” notification, and change it to permit file transfer.