If the plug works in most sockets but not one, then the socket has a problem. If the plug is out of spec as nasty fake one, or been bent by abuse, that could be a factor.
Change the socket for a decent make. If the plug looks at all dodgy, change it as well.