Store a single bit and view it with an LED.
Top logic value is the "Data".
Bottom logic value is "Lock".
When lock is '1', the Data will not be written.
When the green LED is on, the data is '1'.
The simplest design i could make. Sorry if its confusing.