Lenovo Vibe K5 note dead and shows as MTP device. How to recover data

What can I do if I have Lenovo Vibe K5 note device because most of the tools are for Samsung and paid?? what can I do? it’s very important for me to get back my data as it has all my data from the past 5 years and most of my college data?? My phone is stuck on Boot and when connected to pc it doesn’t show but when checked in device manager it shows as an MTP device?? How to recover my data now?