g935f unlock

hi after read codes first ı write freeze code then net lock and phone unlcok ok but when ı restart phone again asks me unlock code and ı must write again these codes.why?help e please…thanks