To make sure the screen turned off when a user pressed it to her face to answer a call, a proximity sensor was embedded. The problem of the phone accidentally turning on in a user’s pocket was solved when a UI designer noticed the sliding lock and unlock mechanism on airplane bathroom doors. Thus, “slide to unlock” was born.