Solid wood front door seasonal swelling makes latching deadbolt difficult
The trim sounds like it is a bit snug, when I lived back east I had a similar problem . I adjusted the trim then found in winter it had leaks, I used weather stripping to solve the problem, I had it where it did not stick in summer and a tack strip of weather stripping that sealed to the door in winter worked great, I only lived there for 3 years so I don’t know how well it held up after that but while we were there from the sub 0 temps in winter to the +100 with 100% humidity the door was easy to open and close with both locks.