Many digital locks allow users to set temporary or one-time-use codes, perfect for guests or service providers.