During periods of violent unrest or conflict, governments may impose restrictions on civil liberties, such as freedom of speech, assembly and movement, often in the name of maintaining public order and security.