A plan to require guns to be stored in a locked container when not in use passed the Senate executive committee Thursday.