added lock button for permalink, link will be protected if page is published