Best WiFi today will consume about ~2mA when in standby. They are using ElectricImp which is a little worse.
People often look at "sleep" current of a WiFi module and think "oh boy I can run this for 2 years at like 100 micro amps". That is true if the WiFi module is turned off; useful if you are waking up, taking a reading, pushing data to the cloud, and then going back to sleep. But for a door you need to be listening on the network for an incoming packet all the time. How else would you know that the user wants you to open the door right now?
Alkaline AA batteries AT BEST have ~2600mAh of capacity. They run at 1.5V. You have 2600 x 1.5v = 3900 mWh of energy in each.
A Wifi module consuming ~3mA and 3.3V runs through that power at around 3900 / (3.3 * 3) = ~394 hours or about 16 days. 4 AA batteries and you'll get about 64 days or little over 2 months of usage.
Of course you'll get FAR LESS because:
A) You have to convert battery voltage to 3.3V and you'll get about 85% efficiency for a high current (300mA peak) needed for a WiFi device
B) You burn more energy when you actually send packets
C) You need quite a bit of power from those 4 AAs to actually turn the lock so you can't do the math assuming all your power is available for WiFi.
So, what's the 2mA module?
Electric Imp gets close to that but they are over it a bit I believe.
A door lock might be able to store twice that... but it needs to last a year according to spec. The power budgets aren't comparable.
On the Lockitron, it depends how long it takes to wake up and ping while maintaining a low latency. In this case it's probably something along the lines of: wake up for 25ms every 1s and check if somebody's unlocking. This saves you 95% of power usage (950ms/1s aren't spent powering wifi) with a max of 1s latency. But I'm not sure if 25ms is enough to ask for new messages over wifi. This still gives you 2.5 mA averaged, which will drain that iPhone battery in 600 hours, which is only 25 days.
And I bet this sports a smaller battery than 1,500 mAh.