If you need a dedicated cord grip (for a heavier than usual lamp - although you shouldn't put too much weight on the flex), you could buy a lamp holder with a threaded cord entry as these are meant to be mounted in some way, and then purchase a third party cord grip that screws into it.
These can be picked up quite cheaply from on-line lamp spares suppliers and come in a variety of colours. They can also supply more stylish lamp holders but be aware that if you choose a metal lamp holder, it's likely it will need an earth providing which obviously requires the use a a 3 core flex.