I have a melee warlock and she works reasonably well.
Give the character plenty of DEX and equip with Finesse weapons (the rapier is, of course, the best one). You may want to look at the free Mage Armour power when you level up.
To be honest, you'll rarely be using the weapon in the early levels, though, because Eldritch Blast is so superior. What is implemented after EA is still up in the air, but the PnP Warlock can have the Hexblade variant which is pretty good in melee.
Hex Warrior
At 1st level, you acquire the training necessary to effectively arm yourself for battle. You gain proficiency with medium armor, shields, and martial weapons.
The influence of your patron also allows you to mystically channel your will through a particular weapon. Whenever you finish a long rest, you can touch one weapon that you are proficient with and that lacks the two-handed property. When you attack with that weapon, you can use your Charisma modifier, instead of Strength or Dexterity, for the attack and damage rolls. This benefit lasts until you finish a long rest. If you later gain the Pact of the Blade feature, this benefit extends to every pact weapon you conjure with that feature, no matter the weapon's type.
Last edited by Sadurian; 22/10/20 07:43 PM.