Microsoft has streamlined this process in Windows 11, moving the feature into the Settings app.
Launch via PowerShell (run as kiosk user): windows 11 kiosk