Bypass Swipe Screen to Unlock Android
This is akin to touching the home button instead of pressing it to unlock your device on older devices.
So, if you have ever been stuck due to lock code, just go through the article to resolve the issue and swipe up to unlock password that somehow gets forgotten.
Once you unlock your iPhone X with Face ID, you must perform the good old swipe up gesture to.
Change Swipe To Unlock