updated Dice to Have Lock Functionality