I'm not sure about preventing deletion of history, but as far as keeping things from being installed you can always set it up that the account needs to ask for permissions to install apps. However, this is only going to work if it's a child account, after that it's going to only be prevented if you select that they have to ask to purchase and then it's only going to stop if it's an app that they have to pay for.
Only other option would be to have them use the Guest account on your MacBook to really lock it down the way that you are asking, but again, I'm not sure it's going to keep the history from being deleted.