Will a new AT&T iPhone work out-of-box with a Cricket SIM?

Was planning on pre-ordering the iPhone XR but realized there's no unlocked model available at launch. Will an AT&T carrier model be compatible with Cricket without having to get the phone unlocked? If not, what could I do to get it unlocked?

Hi so why ask us it is AT&T that has produced the issue you have.