Until ST creates a way to do this I made a custom device type for the lock and a smartapp to change the codes.