I prefer Lukas to Luke and that way you can choose to use Luke as a nn if you want to.

I don't think there is anything wrong with naming your child the same as a friend's child. If you both like the name and its the only name you can agree on, I say got for it!