Deadlock in sql server 2014

In the first image - you have a process running a SELECT INTO that is waiting (LCK_M_S) for another process. The other process it is waiting on is SPID 77. The second image is showing a process running a SELECT statement that has a wait type of CXPACKET (and is waiting on its own process - SPID 59).

This is not a case of a deadlock - rather it appears to be an issue with someone running and update/insert/delete statement that is taking a very long time. That process - which would show up in activity monitor with a 1 in the head blocker column - is preventing the other processes from completing.

You need to identify what process is the head blocker when this occurs and figure out how to optimize that code so it doesn't take very long to execute and cause blocking issues.