Short answer: no. Golden Lancer codes were tied to specific promotions and are locked to the account that redeemed them, so a code passed along from someone else won't work for you.
Also worth saying plainly — posting your gamertag publicly and asking strangers to message you codes is a reliable way to attract scammers. Don't send account details to anyone offering free codes.
If you want the Golden Lancer, keep an eye on official Gears of War channels for a promotion you can enter yourself. And if you just want someone to play with, send game invites to people on your friends list rather than trading codes with strangers.