Lock Active Project

As the title suggest, I want to be able to lock which project is active.