You said yourself, its likely she forgot her phone in the car. So yes we don’t know exactly why the car locked with the phone (key) in the car. But if we’re to go down a list of likely reasons a car would do that, the number one most likely reason is because the car couldn’t detect the phone’s signal.