Obsessive behavior: Ranjeet’s continuous, unwanted, and persistent thought about locking his house is characteristic of obsessive behavior. Obsessions are recurrent and intrusive thoughts, images, or urges that cause anxiety or distress.
Anxiety disorder: An anxiety disorder is a more general condition of excessive fear and worry that is not specific to repetitive thoughts.
Panic disorder: Panic disorder involves sudden episodes of intense fear, which are not necessarily related to a specific thought.
Compulsive behavior: Compulsive behavior refers to the repetitive actions or rituals that one performs in response to obsessive thoughts to reduce anxiety. This is not mentioned in the case.