Arduino locks up when used with P-channel MOSFET

gate, drain, source. Not source, drain, gate.