This is how I had to feed my ball python for the first month I had him. I had to cover his cage with a blanket, turn off the room lights and leave the room for him to eat since he was so shy. He always ate within 2-3 hours after leaving his f/t in front of his hide, but not close enough to block him in.
It was definitely a settling in phase. Now he's a confident and total beast! Haha. Ever since he switched to rats he went from a timid private eater to a rat-slamming hunter!
Just be patient <3