A robot and a method for controlling the robot detects a theft of the robot based on posture information for a main body of the robot and position information of the robot. Operation of the robot is restricted depending on whether a theft of the robot is detected.