Fix #11: Check if an item is locked by using progress visibility.

Items with the current level or lower may also be locked if the
user hasn't done all lessons yet so it's not possible to just
compare levels.