• Set the database to read only,

    Deny insert update delete to the users, then re-enable it (only works if security is managed properly and the accounts dont have elevated rights)

    Set database to single user then back to multi user

    But the question comes down to why do you want to do this?