Implementing basic lock on Assessment