Where do you find safe codes in GTA 6?

Short answer

On site: robbery codes are random

Robbery safe codes are randomized, so a code from a list online will not work. Look for it written down on the premises, or on a guard you have taken down. Focus Mode (click both thumbsticks, L3 and R3) helps you spot it.