You can change the Master Code by using the System Code. The System Code is the only code that has the ability to change all codes for the Master and Users.
1) System Code: Default system code is 9876. Full Access to Alarm Panel
2) Master User: Default Master code is 1234. Full Access to Alarm Panel (Cannot change any Codes)
3) User 1: Default User 1 code is 1234. Arm/Disarm only (please change this default code now)
4) User 2: Default User 2 code is 1234. Arm/Disarm only (please change this default code now)
This video explains how to change the codes:
https://youtu.be/1L58pFGBj5w?si=imvsVUg3H4wfsWHt&t=410
If you forget your System Code, please follow the directions in this article:
https://osigodirect.kb.help/i-forgot-my-gen-2-key-codes/