What movie had Legos based off of it and was written by Steve Kloves?
Lego Harry Potter:  The first sets appeared in 2001, to coincide with the release of the first film "Harry Potter and the Philosopher's Stone" (Harry Potter and the Sorcerer's Stone in the United States). Harry Potter and the Philosopher's Stone (film):  The film is the first instalment in the long-running "Harry Potter" film series, and was written by Steve Kloves and produced by David Heyman.
Harry Potter and the Philosopher's Stone