How many syllables are in the word locked?

2

There is a famous Peanuts cartoon where Snoopy, writing a Haiku, gets into an argument with Woodstock. After much debate (and # and ! symbols from woodstock) its decided two is the correct anwser.