Starvation, as the name suggested, is when a process can acquire the lock, but it is being overlooked. It starves even with resources being available.
There is no deadlock in starvation; each process can acquire the lock and release it successfully.
Let three processes A, B and C, compete for a resource. Processes A and B are being granted that resource interchangeably, and subsequently C starves indefinitely.
Imagine the lock as the door that is being knocked to get food, and only one person per a time can enter, lock it, eat, and then exit.
A deadlock is when that person died inside, it will never be opened again, and everyone will be dead. Unless a supervisor (OS) intervenes.
A starvation is when everyone can take a turn smoothly. However, there is a poor guy who whenever he knocked, someone else was inside. They will starve.
Gruesome, but easy to remember.