setp 1:

 enter disk manager cmd.

diskpart

setp 2:

 list all disk.

list vol

setp 3:

 select your disk.

select vol 2

setp 4:

set readonly.

att vol set readonly

other setp:

 clear readonly.

att vol clear readonly

end.