oven door lock loose/ "lock' Flashing

At end of cleaning oven cleaning cycle, "lock" is flashing. Door opens but the door lock motor is whirring. The door lock motor mounting is loose but screws won’t tighten down. How do I gain access to the door lock motor? Do I remove oven liner after pulling elements, temp sensor and oven light? Or do i work my way down thru the cooktop?