Any apps to create one time codes for lock?

Try the built-in app, Lock Code Manager...you can set pre-determined times to add and subsequently delete a code.

I use it to activate our cleaning lady's code every week so that it only works that day.