Samsung Galaxy A5 (2016) can be flashed easily with Odin. Odin is free tool to flash Samsung phones. Samsung phones are easy to flash. Flashing samsung phones is easy with Odin. There are many tools like z3x and Chimera tools which are expensive but they can unlock your phone FRP.
Odin cannot remove FRP and other locks from your phone.
Don't mess with your EFS files these files cannot be recovered and your phone can be dead.
Don't mess with pit file of you phone