/** * @param array $data * @return array */ protected function _unsetUnlockedData($data = []) { if (!empty($this->_unlocked)) { foreach ($this->_unlocked as $key => $val) { if (isset($data[$val])) { unset($data[$val]); } } } return parent::_unsetUnlockedData($data); }