I'm looking for the name of a movie I saw at least 5 years ago. I believe it had been released relatively recently. The movie is set in a futuristic utopian society.
Children are given a bracelet or code in their forearm with a daily schedule. There is a gatekeeper who lives in a library at the edge of town on a cliff, who is the only person who knows the truth that humans have free will. A new baby is born and assigned the role of the gatekeeper. The story follows the new child as he is mentored by the existing gatekeeper.
The new gatekeeper is outraged that human free will has been kept a secret from society. The reason given for keeping this secret by the existing gatekeeper is to maintain order.
I remember a scene from the start of the movie with babies being sorted on a conveyor belt.
The movie ended with the new gatekeeper escaping from the society.