User Activity

Hi, with stm32cubeprogrammer i've read flash memory, but when i want to program the micro with the file that i've read, it says that "core is locked up". what should i do to solve this problem?
I also want to see where the defines or variables in the current page originate from?for functions its key "F3", but by variables and defines i don't know how to find them...