Again, this is all going to depend on the actual design of the door lock that you get. But, once again, there are designs out there that will allow for this. This would come in handy if there was ever a situation where you wanted to erase all the codes that were saved.
Instead of going through them individually, some systems will indeed allow you to delete them all at once.