How to Lock/ Unlock User Tasks