1 00:00:00,300 --> 00:00:06,690 So in this part, we are going to create another button to trigger that lock in, or we can say to transform 2 00:00:06,690 --> 00:00:08,550 this day from false to true. 3 00:00:09,340 --> 00:00:10,410 If I'm true to false. 4 00:00:10,530 --> 00:00:12,030 So back to the action. 5 00:00:12,160 --> 00:00:17,280 You can see we already have the of functions so we can back to the empty. 6 00:00:17,310 --> 00:00:17,580 Yes. 7 00:00:17,670 --> 00:00:21,750 And also important of functions here. 8 00:00:23,460 --> 00:00:26,350 And then under the paragraph, we can add their buttons. 9 00:00:27,540 --> 00:00:36,920 But this time is locked in all we can say to just off button and this is chugwater of functions. 10 00:00:38,070 --> 00:00:43,560 So we can save it and you'll see where we kick one time it will trigger to stay too. 11 00:00:43,630 --> 00:00:43,970 True. 12 00:00:44,400 --> 00:00:48,150 And if we cook another time, we were bad to force. 13 00:00:48,330 --> 00:00:53,130 So it will switch from lock in and not out by clicking the button. 14 00:00:53,340 --> 00:00:59,550 And we can also change the pass of the button depending on the state of lock in. 15 00:00:59,820 --> 00:01:04,440 So before that we term we can create a variable which is a and test. 16 00:01:06,310 --> 00:01:11,670 If this is already locked in, we can make the best of luck. 17 00:01:11,800 --> 00:01:15,160 Oh, because we will take another time. 18 00:01:15,750 --> 00:01:18,040 We will lock out the state. 19 00:01:18,490 --> 00:01:22,800 So otherwise it will dissipate lock in. 20 00:01:23,210 --> 00:01:26,140 So here we ended up at unties. 21 00:01:29,520 --> 00:01:34,140 And as you can see, whenever I saw you started, it has to lock in button. 22 00:01:34,740 --> 00:01:38,250 And after we already click the button, become locked out. 23 00:01:38,580 --> 00:01:41,040 And the control radio still can't be changed. 24 00:01:41,340 --> 00:01:43,350 And this is how we used to we toss.