Lock DoD to night