Try this
Have a copy of the world
Set your copy to creative and fly around until you find it
Then try to find to find it again
This is for windows 10 edition, which we can't get the lock screen on. That is why crashing the game is another method for this.
Compasses don't work in Windows 10 Minecraft yet, It directs you to the spawn. You can try to find your way back using a Map ( Three Sugar Cane to make Paper, Square of paper then compass in the middle)
I've tested it by taking down doors and placing them over and over in different places;
Village Door, Inside Village, Outside Village, Nowhere near the village and it still occurs.