Hi , I'm James DVM MRCVS and would like to help you with your problem
sorry to hear about your situation .
But first and most importantly - DO NOT LOCK THE CAT IN !
just imagine you are locked in with the thing you fear most of all with no chance of escape
I say again, do not lock the cat in , always keep a route of escape for him !
Cats are individual animals , with a very complex personalty . each is different . You have some who get along with kids and some who don't but one this is proven - you can not force a cat to love someone
Freddie will either choose to eventually warm up to your little girl or not - and if he chooses not to then there is little that you or anyone else can do on the matter and you just need to let him be . make his living conditions as best you can by providing him with drinking water outside and feeding times when you know he will come and it . make food accessible indoors as well , and water . Keep the flap always open when he chooses to come in on cold nights.
A thing you can try as well is to buy a Feliway diffuser ( http://www.feliway.com/uk/ ) which you keep pluged in all the time and that might calm things down .
The point is - you can not force it on Freddie , he will come in when he is good and ready.
I hope this helps , if you have any more questions let me know .
please don't forget to rate our conversation before you leave .
all the best
I wish to know how are things with Freddie currently