Hello
There are 2 things what have influence:

1. remember file state option in the program settings / Files

This option remembers different states like code page, cursor position + R/O
state. Cause you can lock file without changing attribute to prevent accidental
override.
Initial of this state is R/O attribute.

2. you can change option in program settings / Program 2 - R/O mode changes file
attribute. In this case Lock button will change file attribute.

Anyway, you can edit file with R/O attribute if you have rights to write into
folder anytime - simple press Lock toolbar button (or menu File / Read only).
PSpad will allow you edit file, when you will save it, PSPad wil lremove R/O
attribute, save file and set it back. 
If option in point 2 is active, PSpad will change attribute according to LOCK
file state.

-- 
<https://forum.pspad.com/read.php?2,71917,71918>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem