when you get caught, you basically respawn from the point where you need to get the key code again, if thats what you mean