MacRumors published a story that Apple has released visionOS 1.0.3 with a reset option for forgotten passcodes.
Apple Releases visionOS 1.0.3 With Reset Option for Forgotten Passcode
Apple today released a visionOS 1.0.3 update for the Vision Pro headset, marking the first update that Apple has provided since the device launched. The software comes two weeks after the release of the visionOS 1.0.2 update.
The new visionOS update can be installed by opening the settings app and going to the software update section.Apple Releases visionOS 1.0.3 With Reset Option for Forgotten Passcode