Obsessive-compulsive disorder is an anxiety disorder in which people have unwanted and repeated thoughts, feelings, ideas, sensations (obsessions), or behaviors that make them feel driven to do something (compulsions).
In the movie, Mr. Udall has several things he does, routines that he is used to and that he never forgets to do. For example, he locks his door five times every time he comes back home, he also takes a very long time in the shower, and while packing for a trip he lays out all of his things that he is taking with him on the bed, perfectly lined up. Also, he never walks barefoot in his house, he wears these loafers, even when he wakes up he slightly touches the floor with the tip of his toes to check where