what is the simplest way to turn the whole database to be read-only mode temporarily.

my boss want switch the db to be read-only mode for few hours then switch back to normal operation (update, insert....).

any suggestion will be appreciately. thanks