Whirlpool makes their control lock very confusing.
Often times people will look on the control panel and the control lock light will go on and they can not figure out how to unlock the control panel. They will try pressing and holding the cancel button and unplugging the washer or dryer to reset it. None of these options work.
All you need to do is press and “hold the end of cycle” button for 3 seconds and the control panel will unlock.
This is a quick DIY repair that you can do on your own if the problem should arise.