Proper Sealing of Oven Door Gasket
If the oven door locks during the self-clean cycle, the door is sealing properly. The gasket is what seals the opening of your oven to prevent the heat from leaking out.