The iPhone uses a regular number PIN-code as a locking mechanism for the phone. Android uses a swipe-based method.
Wouldn’t it be funny to use shake instead? Think of your favourite chorus in a song, and shake to it. Someone would have to guess the correct song and “dig” to it as you do.
Sure everyone can see you shaking and shaking takes more effort than swiping, but it would be funny!