Go to Google Settings from your device's apps menu. Select Android Device Manager. Turn on the Remotely locate this device option. Turn on the Allow remote lock and factory reset option.