Checking locks refers to the compulsive behavior commonly associated with Obsessive-Compulsive Disorder (OCD), where individuals repeatedly verify that doors or windows are securely locked. This behavior often stems from intense anxiety and intrusive thoughts about potential dangers, leading to excessive reassurance-seeking rituals that can interfere with daily life and functioning.