modify lock & unlock ui