Exercise machine with screen lock function
An exercise machine has a lock mode and an unlock mode associated with a screen lock function. A computing device coupled to the exercise machine includes a display, memory, and a processor coupled to the memory. The computing device is configured to detect a user interaction with the computing device or the exercise machine while the exercise machine is in the lock mode, render a screen lock interface on the display in response to the user interaction, receive an input code from the screen lock interface, determine that the input code matches a goal code, and adjust the exercise machine from the lock mode to the unlock mode in response to determining that the input code matches the goal code.
1. A system comprising:
an exercise machine having a lock mode and an unlock mode associated with a screen lock function; and
a computing device coupled to the exercise machine, the computing device comprising a display, memory, and a processor coupled to the memory, wherein the memory stores instructions that when executed by the processor causes the computing device to perform operations comprising:
detecting a user interaction with the computing device or the exercise machine while the exercise machine is in the lock mode;
rendering a screen lock interface on the display in response to the user interaction;
receiving an input code from the screen lock interface;
determining that the input code matches a goal code;
adjusting the exercise machine from the lock mode to the unlock mode in response to determining that the input code matches the goal code;
detecting a user identifier from the user interaction;
determining that a screen lock function for the user identifier is not enabled;
presenting a screen lock authorization interface on the display of the computing device;
receiving a screen lock preference from the screen lock authorization interface;
disabling the screen lock function based on the screen lock preference; and
updating the screen lock preference for a set of user identifiers associated with the exercise machine to disable the screen lock function.
2. The system of claim 1 , wherein the exercise machine comprises a movable element actuated by a motor, and wherein the motor is in a disabled state when the exercise machine is in the lock mode.
3. The system of claim 2 , wherein the movable element comprises a treadmill belt.
4. The system of claim 1 , wherein the computing device is a console attached to the exercise machine.
5. The system of claim 1 , wherein the operations comprise presenting the goal code on the display in response to the user interaction.
6. The system of claim 1 , wherein the operations comprise presenting the goal code on the display concurrently with rendering the screen lock interface on the display.
7. A method of operating an exercise machine, the method comprising:
detecting a user interaction with an exercise machine or a computing device coupled to the exercise machine while the exercise machine is in a lock mode associated with a screen lock function;
presenting a screen lock interface on a display of the computing device;
receiving an input code from the screen lock interface;
determining that the input code matches a goal code;
adjusting the exercise machine from the lock mode to an unlock mode in response to determining that the input code matches the goal code;
detecting a user identifier from the user interaction;
determining that a screen lock function for the user identifier is not enabled;
presenting a screen lock authorization interface on the display of the computing device;
receiving a screen lock preference from the screen lock authorization interface;
disabling the screen lock function based on the screen lock preference; and
updating the screen lock preference for a set of user identifiers associated with the exercise machine to disable the screen lock function.
8. The method of claim 7 , wherein detecting the user interaction comprises detecting a touch interaction with the display of the computing device.
9. The method of claim 7 , further comprising presenting the goal code on the display.
10. The method of claim 9 , wherein presenting the goal code is simultaneous with presenting the screen lock interface.
11. The method of claim 9 , wherein presenting the goal code on the display comprises randomly generating the goal code.
12. The method of claim 9 , further comprising generating the goal code and presenting the goal code on the display while the goal code is generated.
13. The method of claim 7 , further comprising receiving a request for the goal code from the screen lock interface and presenting the goal code on the display.
14. The method of claim 7 , wherein adjusting the exercise machine to the unlock mode comprises adjusting a motor of the exercise machine from a disabled state to an enabled state.
15. The method of claim 7 , further comprising:
storing the screen lock preference in association with the user identifier.
16. The method of claim 7 , further comprising:
requesting a machine configuration data of the exercise machine from a server; and
updating the machine configuration data to disable the screen lock function for the exercise machine.
17. The method of claim 7 , further comprising:
detecting that the exercise machine is idle for a select time period; and
adjusting the exercise machine from the unlock mode to the lock mode.
18. One or more non-transitory computer-readable media comprising computer-executable instructions that when executed cause a computing system to perform operations comprising:
detecting a user interaction with an exercise machine or a computing device coupled to the exercise machine while the exercise machine is in a lock mode associated with a screen lock function;
presenting a screen lock interface on a display of the computing device, the screen lock interface comprising a goal code;
receiving an input code from the screen lock interface;
determining that the input code matches the goal code;
adjusting the exercise machine from the lock mode to an unlock mode in response to determining that the input code matches the goal code;
detecting a user identifier from the user interaction;
determining that a screen lock function for the user identifier is not enabled;
presenting a screen lock authorization interface on the display of the computing device;
receiving a screen lock preference from the screen lock authorization interface;
disabling the screen lock function based on the screen lock preference; and
updating the screen lock preference for a set of user identifiers associated with the exercise machine to disable the screen lock function.