dag: properly set the "Lock Layout" checkbox

Signed-off-by: David Aguilar <davvid@gmail.com>