Replace door latch

How do you replace the door latch on a Whirlpool dryer?

I need to know how to replace our Whirlpool dryer door latch. I can’t figure out if it pops out or do you unscrew the screws on the side and access it that way. Thanks for your help.