btnlocked doesnt work