i accidentally flipped the lock thing on my oven it is an older oven and i cant flip it back my dinner is in it so i unplugged the oven how can i get it to unlock???

Turn it off and wait a little. Some ovens have safety locking mechanisms like that