Lock a file in keil so that it cannnot be changed

How to lock files in keil so that they can be read only, like one I saw in STM32 library. There files cannot be edited, they can build.

Can entire project be locked?????

More questions in this forum