The title says it all.
It seems there is no way to change the screen lock code for this phone.
I am not looking to change the sim lock.
I am not on stock ROM on that device but as I recall Settings → Security ( and location?) → Device Security → Screen Lock.
You need to enter your PIN to change screen lock