Written
December 07, 2019
Have you checked the full post ? http://www.systanddeploy.com/2019/12/task-sequence-password-protect-gui-for.html
As mentioned in the post you have to create a step "Set Task Sequence Variable" and set the password you want to use