Usually somewhere between ten and thirty minutes.
It does not always end there, though — you can occasionally be locked out for another ten or fifteen minutes on top while the servers settle. Planning around a generous half hour is the safer bet.