To unlock Lloyd in Super Smash Flash, you need to play for one full hour in total. After that, enter Adventure or Classic mode with any character and difficulty.
Once the playtime requirement is met, starting one of those modes should trigger the unlock. Keep track of your total time so you know when you have reached the threshold.