The small triangular piece of metal that slides along the bar on the door closer needs to be replaced. There are repair kits at Home Depot or Loews that include this part. See also my Storm Door Hardware page Storm Door Screen Replacement ...
If a deadbolt is stuck, the chances are good that the bolt is having a hard time engaging the opening in the strike plate on the door jamb. Be sure the strike plate is securely screwed and in reasonable alignment with the bolt. You can file the edges of the strike plate a little, an...