How to read and modify ReadOnly and ManteinanceMode Site Collection Properties
This script allows to play with ReadOnly and ManteinanceMode properties at the site collection level. The scripts contains a function that allows to read the value of both properties (initially is set to false) and also to
modify the ReadOnly property from false to true value.