g.e. built=in=electric oven

my oven is not self cleaning therefore it doesn’t have a doorlock. the oven will not come on it flashes doorlock. we have a new panel is there anyway to go around this?